flex states order

hello experts
Is is possible to change the Zorder of flex components in design more ?
For instance

In state 1 canvas1 is above canvas2
in state 2 canvas2 is above canvas1

?
regards
yarekGmailAsked:
Who is Participating?
 
zzynxConnect With a Mentor Software engineerCommented:
>> Is it possible to change the Zorder of flex components in design mode?
I have no experience with it, but after some digging around I'm afraid the answer to this tends to be: No.
0
 
zzynxSoftware engineerCommented:
DisplayObjectContainer.swapChildren()

swapChildren(child1:DisplayObject, child2:DisplayObject):void

Swaps the z-order (front-to-back order) of the two specified child objects.


P.S.
According to this person it wouldn't work as expected an he does a remove and an add again (in the other order):
http://www.propellingsolutions.com/2009/02/swapchildren-fix-in-flex-3/
0
 
yarekGmailAuthor Commented:
in DESIGN mode !
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
zzynxSoftware engineerCommented:
Design mode of which program or IDE?
0
 
yarekGmailAuthor Commented:
Flex Builder !
0
 
zzynxSoftware engineerCommented:
Thanx 4 axxepting
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.