• jzauner
  • Born
  • Born
  • jzauner
  • Posts: 1

Post 3+ Months Ago

I'm trying to unload an externally loaded movie from the externally loaded movie.

The externally loaded movie:
1) The movie is nested
2) A button takes the play head to the last frame in the nested movie
3) The code on the last frame would unload the movie from the container in the other movie.

The movie loading the external movie:
1) The container is nested

The code that DOES load the external movie:

on (release) {

The code that does NOT unload the external movie (located on the last frame of the external, nested movie):

trace("container : " + container);

Any help is appreciated.
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1253
  • Loc: Ro

Post 3+ Months Ago

did u actually looked up for the unloadMovie syntax?
there's no parameter required.
basic stuff:
1) container.loadMovie("1.swf"); // -> overwrites everything that exists in container with 1.swf
2) container.loadMovie("2.swf"); // -> overwrites 1.swf with 2.swf (1.swf is lost)
3) container.unloadMovie(); // erase 2.swf from container

4) u can do:
// after this code, u`ll still have "2.swf" and "3.swf";

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.