Flash how to?
Flash how to?
Out of context: Reply #14
- Started
- Last post
- 15 Responses
- sect0
2 movieclips : 1 button and 1 movieclip that has an animation on it
instance name for button is 'btn' and instance name for movieclip with animation is 'mcAnimate'. place this script on frame 1
onEnterFrame = function () {
btn.onRollOver = function() {
mcAnimate.nextFrame();
}btn.onRollOut = function () {
mcAnimate.prevFrame();
}
}...as you rollover on your button, it plays forward, as you rollout, it plays back reverse