I am using Flash 8 Pro and trying to play an mp3 on hit in a button. Everything worked perfectly in Flash MX but in 8 the action script is not working.
Original script is
on (press) {
stopAllSounds();
}
on (release) {
play();
}
now I get a message
are permitted only for button instances
on (release) {
I even named the button instance and still doesn’t work. Any help would be appreciated.