digipete
11-18-2002, 10:26 PM
okay I have a movie clip and inside that movieclip are some buttons..
the clip plays on the main timeline and when you hover over one of the buttons it plays another movie clip also on the main timline....
stay with me now...
now its the apparently simple bit that keeps on f**king up if you will excuse my language
on testing the rollover command, and the rollout command, they work beautifully
however when you press the button, it is supposed to take you to another scene on the main timeline
heres what I'm using at the moment:>>
on (press, release) {
_root.gotoAndPlay ("floating menu", 1);
}
on (rollOver) {
_root.homemc.gotoAndPlay("start home");
}
on (rollOut) {
_root.homemc.gotoAndPlay("roll home");
}
but either nothing happens or with abit of fiddleing it will restart and loop the movieclip animation.
All I need is a bit of script to tell a button in a movieclip to go to the main timeline (I tried level10 didn't work but I did probably do it wrong!) and play a different scene
Anyone with the knowledge please save me from my muffled screams and costly dents to my desk.
cheers
peter
the clip plays on the main timeline and when you hover over one of the buttons it plays another movie clip also on the main timline....
stay with me now...
now its the apparently simple bit that keeps on f**king up if you will excuse my language
on testing the rollover command, and the rollout command, they work beautifully
however when you press the button, it is supposed to take you to another scene on the main timeline
heres what I'm using at the moment:>>
on (press, release) {
_root.gotoAndPlay ("floating menu", 1);
}
on (rollOver) {
_root.homemc.gotoAndPlay("start home");
}
on (rollOut) {
_root.homemc.gotoAndPlay("roll home");
}
but either nothing happens or with abit of fiddleing it will restart and loop the movieclip animation.
All I need is a bit of script to tell a button in a movieclip to go to the main timeline (I tried level10 didn't work but I did probably do it wrong!) and play a different scene
Anyone with the knowledge please save me from my muffled screams and costly dents to my desk.
cheers
peter