mkoz
03-08-2008, 10:22 PM
I'm trying to script an audio clip to load from the library when the button is clicked this warning occurs when in publish the file:
WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.
My script is:
stop();
var sndTrack:BigBlueSea = new BigBlueSea();
var sndControl:SoundChannel;
sndControl = sndTrack.play(0,999);
on_btn.addEventListener(MouseEvent.CLICK, soundON);
off_btn.addEventListener(MouseEvent.CLICK, soundOFF);
Any ideas???
WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.
My script is:
stop();
var sndTrack:BigBlueSea = new BigBlueSea();
var sndControl:SoundChannel;
sndControl = sndTrack.play(0,999);
on_btn.addEventListener(MouseEvent.CLICK, soundON);
off_btn.addEventListener(MouseEvent.CLICK, soundOFF);
Any ideas???