(press) {
gotoAndStop(52);
}
So how do I add Actionscript to a button?How do you add actionscript to a button?
your code is okei. But I think your object is not a button its a movieclip. Make sure this clip as a button.How do you add actionscript to a button?
1. Make sure you have clicked on the button, and are in the Button's Action dialog, not the Frame's Action dialog.
2.
MyButton.onRelease = function() {
//Whatever
}
Where 'MyButton' is the instance handle for the button.
No comments:
Post a Comment