-
A little Help on unloadmovie
Heres my problem, on my button I'm calling my mainMc like this
on (release) {
_level0.main.loadMovie("sections.swf");
}
And and I'm trying to unload it from a frame script like this:
removeMovieClip(_root.recruit);
stop();
>>This doesn't work atall .. what am I doing wrong?
>>Should I use this as a framscript or should I have it in a button?
Anyone?
-
Untitled-1.fla
If you want to unload main:
code: _level0.main.unloadMovie();
-
FK's Geezer Mod
Just going by your code and working backward, your loading a movie named sections.swf into a movie clip named main onto level0. If that's what your really doing, then do it this way instead:
on (release) {
_root.main.loadMovie("sections.swf");
}
Then to unload it, your code is trying to remove a movie clip named recruit. I don't see any connection there. If your trying to unload the sections.swf, use this instead:
_root.main.unloadMovie();
-
thanks guys!
it works great .. I'll keep to it
you guys rule!
...if I hit any more glitches .. can I still ask you guys?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|