filename = [“r1r.swf”, “r2r.swf”, “r3r.swf”,“r4r.swf”,“r5r.swf”];
i = filename.length;
k = Math.floor(Math.random()*i);
loadMovie(filename[k], randomLoader);
the above is on the first frame and randomLoader is a component loader
I can’t find a way to unload this movie, or make it not visible
I have tried
on (press) {
imageLoader.content.visible = false;
nailLoader.content.unloadMovie();
randomLoader.content.visible = false;
}
and
on (press) {
imageLoader.content.visible = false;
nailLoader.content.unloadMovie();
randomLoader.content.UnloadMovie();
}
the imageLoader and nailLoader are component Loaders as well and in a similar setup , and they unload and go not visible fine, the only difference is the way the randomLoader loads the movie, which is from actionScript on the first frame.
is theere something obvious I am doing wrong here?
thanks
:h: