Hi everyone!,
This is the third time have posted this question. I have never had any replies…
I have a button, which has been built using the “Complex Button” tutorial on this site. Once the button (which is really a movie clip) has been clicked, I would like the animation to play until the final frame and then stop. At the same time it needs to link to another frame.
For example, on the attached file, when you click on ‘selected projects’ the button should play until it is orange and then stay in that state.
I have attached a flash and swf file. I have searched all threads for a solution before posting. Below is the code:
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
this.onRelease = function() {
_root.gotoAndPlay("box")
};
Can anyone please help?