Skip to main content
November 22, 2007
Question

How to onload an external swf

  • November 22, 2007
  • 1 reply
  • 248 views
Hi there

I load an external swf by clicking a button and everything works fine - the problem is that the swf remains after clicking my other buttons. How can I avoid this?
My code looks like this:

on (release) {
this.createEmptyMovieClip("empty_mc",0);
empty_mc._x = 240;
empty_mc._y = 10;
loadMovie("design-swf/designKonceptMenu_v1.swf",empty_mc);
}

Best regards
Jean
This topic has been closed for replies.

1 reply

Participating Frequently
November 22, 2007
on all other buttons, add script below into its' on(release)

unloadMovie(empty_mc);