-
[f8]
dear community,
me and flash do not yet understand each other.
I have loaded an extern swf ("hongkong") with the help of a mc ("imageLoader") into my main movie.
that how the code looks like:
hongkong.onRelease = function() {
startLoading("hongkong.swf");
};
function startLoading(whichImage) {
loadMovie(whichImage, "imageLoader");
}
and now I want to close the extern movie when the user gets outside the movie, like rollout. this is how I tried but not suceed:
hongkong.rollOut = function() {
imageLoader.unloadMovie();
};
can anyone help me?
thank you, sara
-
Hi sara
Not sure if this i correct as haven't written AS2 in a bit but thought i'd give it a go. Try simply,
hongkong.rollOut = function() {
unloadMovie("hongkong.swf");
};
Hope this helps.