Hi.
Straight to the point >
my plan is to be able to 'attach' and 'unload' a movieclip in my stage.
win_home (= the mc to be loaded and unloaded)
> inside the movie is another mc that controls the play and stop actions.(=for minimizing and maximizing)
It has this code:
Code:
onClipEvent (load) {
pressed = false;
}
onClipEvent (enterFrame) {
if (pressed == false) {
_root.win_home.nextFrame();
} else {
_root.win_home.prevFrame();
}
}
Then there is the navigation menubutton wich should control the loading of my "linked" win_home
Here is it's code:
Code:
on(release) {
_root.attachMovie("home","win_home",3);
_root.win_home._y = 7.3;
_root.win_home._x = 370;
}
The problem is: The window "Home" in my movie, must already be on the stage. i can unload it, but when i push the menubutton again it acts weird ... i think the code for that button is wrong, or maybe i don't have to use linkage for that one...? (i just don't want to use the _visible command because if all the windows are gonna be loaded and invisible the movie will slow down (i think ... )
chek out the SWF http://users.pandora.be/thomasd
Ps: what do you guys think of my design?