Copy link to clipboard
Copied
Hi,
I have parent swf (test.fla). It will simply load a child swf(child.fla).
Once parent loaded the child swf i am able to acess the child's stage and its movieClips.
Issue:
When i decleare a variable as "ContainerController" , the parent swf not able to access the child's movieclips. How to solve this issue?
When i don't include "ContainerController" in child swf , i got the trace from parent class as (its what i expect)
[object MainTimeline]
mc --->
mc1 --->
When i include "ContainerController" in child swf , i got the trace from parent class (issue here)
[object MainTimeline__Preloader__]
instance3 --->
instance5 --->
Here you can get the the demo files for your reference: https://rapidshare.com/files/3986374440/test.rar
Thanks,
Siva
click file>publish settings>advance actionscript settings (the wrench icon next to the script combobox)>library>default linkage>merged into code>ok>retest.
also, here are all the ways to communicate between two as3 files, http://kb2.adobe.com/community/publishing/918/cpsid_91887.html
Copy link to clipboard
Copied
click file>publish settings>advance actionscript settings (the wrench icon next to the script combobox)>library>default linkage>merged into code>ok>retest.
also, here are all the ways to communicate between two as3 files, http://kb2.adobe.com/community/publishing/918/cpsid_91887.html
Find more inspiration, events, and resources on the new Adobe Community
Explore Now