[osflash] [OT] since flashlounge is still blown away ... can you explain this:

Michael Stuhr michael.stuhr at gmail.com
Thu Feb 22 08:52:23 EST 2007


Cedric Muller schrieb:
> var r:MovieClip = this.createEmptyMovieClip ('root', 1);
> var c:MovieClip = r.createEmptyMovieClip('container', 1);
> var f:MovieClip = c.attachMovie('foo', 'clip1', 1, {_x:10, _y:10});
> trace (f._y) // traces 0 ???
> 

hmmm my problem must be elsewhere:

i attach n-clips inside a container (c in this example) each with individual _y positions, 
when i trace () them right after attaching them everything is fine.

later on when i want to rearrange them it seems i lost scope. i always get local positions 
(aka 0/0). well i guess i have to take one more coffee, my tobacco and go outside for 
smoking :-)

micha



More information about the osflash mailing list