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

Sonja

2006/6/28, mthielman11 <[EMAIL PROTECTED]>:

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.


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to