I applied actions to a button, but since it´s hit area is too small, the rollout sometimes fail.
i tried this code on the time line to solve the problem but it´s not working. Somebody could point the mistake?
[AS]preview.onRollOver = function()
onEnterFrame = function() {
tellTarget (“preview”) {
gotoAndPlay(“efeito”);
}
};
tellTarget (“ponta”) {
gotoAndPlay(“inicio”);
}
};
preview.onRollOut = function() {
tellTarget (“ponta”) {
gotoAndPlay(“fim”);
}
};
stop();
{[/AS]
thanks