Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ContainerController issue when load child swf

Explorer ,
Jul 04, 2013 Jul 04, 2013

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

TOPICS
ActionScript
432
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 04, 2013 Jul 04, 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

Translate
Community Expert ,
Jul 04, 2013 Jul 04, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines