2-State Button - Need Help
I want to have one button that has two states. For example a play button, when pressed it plays a movie, but change to a pause button. Then you can click the pause button and it returns to the original state.
So far, i have created a moiveclip, inside i have my button. On frame 1 i have the play button and on frame 5 i have my pause button. I want to have a action on release, so that the button change from one frame to the next. Does this make sense?
Here is my code to call this action:
Code:
this.movieClip.play_btn.onRelease = function() {
gotoAndStop(5)
};
I have posted a bunch of theads this week and no one replies, i hope i can get some help. Thanks.
i feel like a newb again.
haven't had time to play around with your AS yet.. but out of curiosity what minimum version of flash does the movie need to be published as?
thanks.