How to get a SWF that is responsible for controlling the parent timeline?

I have a SWF that loads an external swf. I want the external swf (that has been loaded only), interact with the timeline of the swf file that just load it. I tried MovieClip (root). or MovieClip (parent). but they give me errors. How can I use as3 in the external swf so that it interacts correctly with the parent?

the main timeline in the swf file that is loaded, you can reference the main timeline in the swf loading using:

MovieClip (parent.parent)

Tags: Adobe Animate

Similar Questions

Maybe you are looking for