Skip to main content
sivacse24rep
Inspiring
July 4, 2013
Answered

ContainerController issue when load child swf

  • July 4, 2013
  • 1 reply
  • 456 views

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

This topic has been closed for replies.
Correct answer kglad

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

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
July 4, 2013

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