Hi,
I’m developing a simple Flash movie using movieclips as buttons and functions to control the interaction. My code looks like this, where “b1” is the instance name of the button:
b1.onRollOver = over;
b1.onRollOut = out;
b1.onRelease = onrelease;
function over () {
this.gotoAndPlay(2);
}
function out () {
this.gotoAndPlay(7);
}
function onrelease () {
this.gotoAndPlay(20);
}
The functions “over” and “out” works fine, but not “onrelease”. First of all, is this the correct syntax(“onrelease”)? If yes, why doesn’t the code work…?
Thanks!