Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unloadMovieNum help 1

Status
Not open for further replies.

technoknow

Technical User
Apr 19, 2002
121
US
I've loaded a mc in Scene 3 with the code:
on (release) {
loadMovieNum("jamieText.swf", 2);
}
In Scene 2 I try to unload it with:
unloadMovieNum(2);
It doesn't unload. I've noticed that the other messages talk about targeting a frame name. So I've tried by naming the mc "text_clip" and then used the code:
_level2.unloadMovie("text_clip");
Thanks for your help,
technoknow
 
Is it because you're loading the movie 1 scene after you're trying to unload it? Not trying to be smart, that just seems a little confusing to me.

Adam
 
Adam, you're a genius!
I really love the way this forum solves my problems.
Usually I take a lot of time to compose my question and while I'm doing that the answer comes to me, so you guys don't see most of my questions.
This time I guess I didn't spend enough time on the question but since you were confused by it and you're answer seemed so obvious I looked at it again.
Here is what I was doing wrong, for anyone following this post as a keyword search. I was putting my unload code:
unloadMovieNum(2); in Scene 1 instead of in the current scene.
So when I clicked the "home" button in scene 3 the code never ran.
If someone has the time could you point me to a tutorial on how to use the Debug feature on Flash?
I'm a Visual Basic hack and really loved the way you can "step through" the code line by line. I've been trying to get the hang of the Flash debugger but could really use some hints.
Thanks a bunch Adam14.
TechNoKnow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top