Skip to main content
November 27, 2007
Question

Unload, or removeChild?

  • November 27, 2007
  • 3 replies
  • 421 views
Greetigns all,

Here's the problem. I have figured out how to create a projector file that calls an external swf and plays it, but I am looking for the way to return to the orriginal projector file once the external swf is over. Do I add the code to the external swf (say a back button)

here is the code that loads the external file in case that has any relevance to this matter. Thanks!
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
November 28, 2007
you're welcome.
November 28, 2007
Thanks!

kglad
Community Expert
Community Expert
November 27, 2007
remove your loader from the display list. your main stage will then be visible (if it wasn't before).
November 28, 2007
Thanks for the reply kglad.

Unfortunately, I am still at a loss. What I have is basically a menu that comes up, (The main Projector file) I want to have the option to load a swf have the user play through that swf and then return to the menu and be able to choose another swf.

The main stage was still visable so I moved the timeline of the main stage to frame two (a blank frame). How to I go about removing the loaded swf and getting back to frame one of the main stage?

I have tried all kinds of things and I can't get it to work right, please bear with my ignorance!

am I on the right track with this line of code?

MovieClip(this.parent).gotoAndStop(1);

Thanks so much!
kglad
Community Expert
Community Expert
November 28, 2007
in your external swf you would probably use: