Josh - from the last line. it looks like he is struggling with 'pseudo'
children and that the objects aren't on the display list.

 

Rick Winscot

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Wednesday, June 25, 2008 10:39 PM
To: [email protected]
Subject: Re: [flexcoders] help with sprites

 

canvas.setChildIndex(componentThatGoesOnTop, canvas.numChildren - 1);

-Josh

On Thu, Jun 26, 2008 at 7:37 AM, grimmwerks <[EMAIL PROTECTED]> wrote:

Ok - I've got a canvas mxml component.

I've got a repeater that draws circles to the canvas.  At repeaterEnd
I go through each circle and name them -- ie work, home, etc.

I need to be able to bring any of these circles to the top - ie
circle[3] (which is id 'work') has to be able to be above all other
circles.

Anything I'm trying is just dying here - though I can go through each
of the circle[x] repeater items and trace out their id, I don't know
how to GET at them - ie this['work'] doesn't work.... I can't figure
out how to make the one repeater object above the others...

I'm thinking about going purely for an actionscript AddChild route
soon....

------------------------------------

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






-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] 

 

Reply via email to