Bastard11
03-08-2003, 12:48 AM
Ok here is my senario..
I have a movieclip of a TV that comes onto the page when played.. it contains a "help" button that activates another movie clip which does its short run, pointing out how to control the TV then fades away back into the corner from which it came.
I have a power button on the TV that sends the TV movieclip into its last few frames, animating it off of the screen.. I also need to make it send the help movieclip into it's last few frames of animation. Same goes with the button that activates the help movieclip.. when you click it once it plays the help movieclip.. and I want it so that when you click it again it sends it into its last few frames of animation. Here is the code I have managed to put together from other "play/pause" topics on these forums.. anyone see why it won't work?
on (press) {
if (_root.helpmovie == "play") {
_root.playtime.helpdisyo.gotoAndPlay(95);
_root.helpmovie == "stop";
}else{
_root.playtime.helpdisyo.gotoAndPlay("gohelpgo");
_root.helpmovie == "play";
}
}
"gohelpgo" is a frame label.
Look here (http://www.vansterdam.net) for an example.
I have a movieclip of a TV that comes onto the page when played.. it contains a "help" button that activates another movie clip which does its short run, pointing out how to control the TV then fades away back into the corner from which it came.
I have a power button on the TV that sends the TV movieclip into its last few frames, animating it off of the screen.. I also need to make it send the help movieclip into it's last few frames of animation. Same goes with the button that activates the help movieclip.. when you click it once it plays the help movieclip.. and I want it so that when you click it again it sends it into its last few frames of animation. Here is the code I have managed to put together from other "play/pause" topics on these forums.. anyone see why it won't work?
on (press) {
if (_root.helpmovie == "play") {
_root.playtime.helpdisyo.gotoAndPlay(95);
_root.helpmovie == "stop";
}else{
_root.playtime.helpdisyo.gotoAndPlay("gohelpgo");
_root.helpmovie == "play";
}
}
"gohelpgo" is a frame label.
Look here (http://www.vansterdam.net) for an example.