RE: [flexcoders] Arrangement, front back?

2006-07-03 Thread Jason Hawryluk
swapChildren and swapChildrenAt on the container... Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Phil MarstonEnvoyé: mercredi 28 juin 2006 15:04À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] Arrangement, front

[flexcoders] Arrangement, front back?

2006-06-28 Thread mthielman11
OK this may be a really dumb question. But, if I have two items say a box and then a button and I want the box to be layered behind the button how do i do that? I do not see arrange front/back commands anywhere. Yahoo! Groups Sponsor ~--

Re: [flexcoders] Arrangement, front back?

2006-06-28 Thread Sonja Duijvesteijn
When you are creating objects, the last created object will be on top, if that not what you want, change it.var index:int = container.getChildIndex(button);container.setChildIndex(button, index+1 );This will move the button in the container up 1 level in the view stack Sonja2006/6/28,

Re: [flexcoders] Arrangement, front back?

2006-06-28 Thread Phil Marston
put the button tags inside the box tags? mthielman11 wrote: OK this may be a really dumb question. But, if I have two items say a box and then a button and I want the box to be layered behind the button how do i do that? I do not see arrange front/back commands anywhere. --