[flexcoders] Re: accessing children of flash generated swf

2008-03-23 Thread celumbra
Thank you for your response. "background" is the id of the SWFLoader tag. If the content property is the root of the SWFLoader, shouldn't I be able to call its children with something like this: swfLoaderID.content.numChildren or swfLoaderID.content.getChildAt(index); ? I thi

[flexcoders] Re: accessing children of flash generated swf

2008-03-24 Thread celumbra
I have it solved, thanks to your help. loadedMC = MovieClip(background.content); var _index:int = NumberUtilities.random (0, loadedMC.numChildren-1, 1); var _target:Object = Object(loadedMC.getChildAt(_index)); animate(_target); --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED

RE: [flexcoders] Re: accessing children of flash generated swf

2008-03-23 Thread Alex Harui
nt: Sunday, March 23, 2008 1:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: accessing children of flash generated swf Thank you for your response. "background" is the id of the SWFLoader tag. If the content property is the root of the SWFLoader, shouldn't I be able