READY? Here it is:
var TheLoader:Object = parentObj.TheExit as Object;
This line gets me to the swf I loaded and I can now change the alpha, move it etc…
BUT HOW HOW HOW… do I get one of its children and control get that same control?
Example Code:
TheLoader.TheChild.alpha = .3; // Does not work!
5 days on this issue is WAY TOO LONG! Here is the 3rd post with the same issue but more detail. as3 externally loaded swf from network to control externally loaded swf from network
I just made this shorter to get attention to the ONE LINE I NEED!!!
THANKS!
If you look at the documentation for Loader, you’ll see that it has a
contentproperty. This is how you access your loaded content. So, for example, ifTheLoaderis a Loader, and ifTheChildwas an instance on the timeline of the loaded SWF, you could do:This child is not available until the content has been actually loaded, so be sure to listen to for the COMPLETE event on the Loader’s
contentLoaderInfobefore accessing the content:Also note that you may run into security issues if the loader and loadee SWFs are not on the same domain. In this case, you will have to call
Security.allowDomainin the SWFs to allow the cross-scripting.