[flexcoders] why doesnt this work (custom drawing)

2009-03-29 Thread gmoniey22
I'm sure its something stupid, but I cant figure out why this doesnt draw anything. I followed the example found here: http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1738.html http://www.adobe.com/2006/mxml"; layout="absolute">

[flexcoders] why doesnt this work?

2007-03-15 Thread Matt Wicks
does anyone have any idea why this doesn't work? passing in a displayObkectContainer (container) and the displayObject I want to rise to the top (objectToMove) for (var i:int =0; i container.swapChildren(container.getChildAt (index),container.getChild