Hello everyone. What is the simplest way to make a button’s down state stay active when the user presses it? I found out how to do it with movie clips with the following AS:
movieClip.onRollOver = function () {
gotoAndStop(“over”);
};
movieClip.onPress = function () {
gotoAndStop(“down”);
};
movieClip.onRelease = function () {
gotoAndStop(“hit”);
};
…but I want to keep the items as buttons. Thanks again.
Re: my original question, where do I place the mc code? I created an MC called “RSVP_mc”. Inside the “RSVP_mc” movie clip timeline I’ve created 4 frames, labeled respectively up, over, down and hit, placing the appropriate graphic on each frame. Also, each frame has a stop() action. Then, back on the mc itself on the main timeline I’ve added the following AS:
Nothing happens. Am I putting things in the right place? Also, I’d like it to load a .swf into an empty MC on the stage once clicked. What script do I add at the end, and where? I await your genius…
*<:) Scottie
How about this… Is there a way to add some AS to a basic button to make it “stick” in the down state? That would be so much easier!