just one question … Im fairly handy with flash MX but ive been having problems with using movie clips as buttons. what im trying to do is make a button do the following:
When user rolls over, play frame 1
when user rolls off, play frame 20
if user clicks button, play frame 30
ive tried a lot of tutorials and searched a few forums so far, but it keeps acting wierd, most of the time it rolls over fine, but is i rollover, then rolloff before it reaches frame 20, it stops @ frame 20 and whatever i do doesnt react anymore…
help would really be appreciated, even if its a link to a good tutorial ,and im even willing to buy a book if it covers the topic well …
thanks a lot but actually thats a bit too complicated … when the user rolls off, i want the animation to begin at frame 20, no matter how long the user has been hovering on the button, very much like the buttons of the right side of http://www.shiver7.com/
effect.onEnterFrame = function() { //the action is triggered continually at the frame rate of the movie
if (OK) {//if OK is true (assigned when you rollover the button)
effect.nextFrame(); //tell effect mc to play its next frame
} else { //if OK is false (assigned when you rollout the button)
effect.prevFrame(); //tell effect mc to play its previous frame
}
};