[Flashcoders] accessing movieclips, problem using preloader

2009-07-23 Thread Isaac Alves
Hi fellows, I´m having a weird problem here:

This code is inside the movieclip Info_1, which is a child of the stage in
top.swf.

function intro():void{
trace (this:  + this);
trace (thischldren:  + this.numChildren);
trace (child 0:  + this.getChildAt(0));
trace (child 0name:  + this.getChildAt(0).name);
(...)

and i-m using is a preloader.swf that loads top.swf.
when running  top.swf it traces:

this: [object Info_1]
thischldren: 9
child 0: [object MovieClip]
child 0name: faixa
12988

when running  preloader.swf it traces:

this: [object Info_1]
thischldren: 1
child 0: [object Shape]
child 0name: instance6
18669

as you can see, the object faixa as well as many others are unacessible
when I execute preloader.swf.
any clue why that happens ??
thanks !!
isaac
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] accessing movieclips, problem using preloader

2009-07-23 Thread Isaac Alves
it worked with MovieClip(parent).

im looking now for something like lockRoot   for as3
any clue how could I handle this?

thanks!
isaac
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders