PDA

View Full Version : Kill the code


skomi101
10-13-2004, 12:03 PM
Hi there,
The problem is not in the code, or what it does, it's how to completely unload the movie.

empty.duplicateMovieClip('sshow', 49);
sshow.loadMovie('slideshow.swf');

When I unload slideshow.swf action script continue to exist and looping.

I tried with

_root.sshow.unloadMovie();
removeMovieClip(sshow);

but without any results. Please help

curryjon51
10-13-2004, 02:37 PM
Hi


_root.empty.duplicateMovieClip("sshow", 49);
sshow._x = 100
sshow._y = 100
sshow.loadMovie('slideshow.swf');
_root.onMouseDown = function(){
sshow.removeMovieClip()
}

That worked in MX for me

hth

skomi101
10-13-2004, 04:21 PM
Thanks, but the solution was in clear Interval, which I forgot to mention.

Cheers