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.