?
Solved

flex states order

Posted on 2010-01-08
6
Medium Priority
?
365 Views
Last Modified: 2013-11-11
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
0
Comment
Question by:yarekGmail
  • 4
  • 2
6 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 26211013
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
 

Author Comment

by:yarekGmail
ID: 26271993
in DESIGN mode !
0
 
LVL 37

Expert Comment

by:zzynx
ID: 26279013
Design mode of which program or IDE?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:yarekGmail
ID: 26279216
Flex Builder !
0
 
LVL 37

Accepted Solution

by:
zzynx earned 2000 total points
ID: 26281605
>> 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
 
LVL 37

Expert Comment

by:zzynx
ID: 26281667
Thanx 4 axxepting
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question