Control Main SWF via an external SWF

Asked

Viewed 92 times

0

In the actionscript2 was possible, but in the actionscript3 I can’t do it. Here’s the thing, I have a main SWF file that contains some movieClips. My main file loads another external SWF containing an animation.

My animation contains some moments that I would like to trigger the masks (MC) in my main file to generate some visual effects, only that I can’t fire my movieClips through the external file.

I’ve tried to use parent.parent among others unsuccessfully and the animation is too big to load before displaying the main file, otherwise I played everything inside the main and would work.

  • you are adding the external swf on stage or within another movieclip? Are you using Packages to organize the project, or are you writing everything inside the "animation"? The mask you managed to apply? What would fire, would be the play? You want to give stop and play in the external animation or they should simply run automatically, but do not load?

  • The external SWF is being loaded inside a clip Movie.

  • The external file I’m putting the stock in the animation Timeline

  • I would like the external file of this a gotoAndStop() in a mask that is in the main SWF that is directly on the stage of the Main file.

  • I would like to give Stop and Play in the MC s of the main file, through the External file, that is, as the External file Timeline, is advancing, it is firing the masks of the Main file (main). I’m doing something similar to this http://www.takethislollipop.com/ . I already upload all the information and photos of users inside the Movieclilps, and on them has a mask, which as the Timeline of the file with the clip (external arch) is running will show the images at the right times.

  • Your answer: The external SWF is being loaded inside a clip Movie. This must be the problem, the movieclip must have a name, this name must be pointed out, right? Or you want the external movieclip to control the movieclip that loaded it?

  • even I would like the external SWF to control the movieclip

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.