I have a button and movie clip. In my previous buttons i have used:
[SIZE=1][COLOR=Red]effect.onEnterFrame = function() {
(success) ? effect.nextFrame() : effect.prevFrame();
};
button.onRollOver = function() {
success = true;
};
button.onRollOut = function() {
success = false;
};
button.onRelease = function() {
success = false;
};[/COLOR][/SIZE]
Which works great, but i want my animation (movie clip) to continue playing until end of the clip (with a stop action on last frame), not rewind on rollout.
Ive been fooling around with this code, to make it continue playing on rollout
[SIZE=1][COLOR=Red]button.onRollOut = function() {
success = true;[/COLOR][/SIZE]
however, when i do this, i try and use the button again, the animation doesnt play becuase its on “stop”.
Any ideas?