var sndSync:Sound = new b3();
var chnSync:SoundChannel=sndSync.play();
var myVolume003:Number=0;
var myTransform003:SoundTransform=new SoundTransform(myVolume003);
chnSync.soundTransform=myTransform003;
chnSync.addEventListener(Event.SOUND_COMPLETE, loopSoundf);
function loopSoundf(e:Event):void{
chnSync = sndSync.play();
chnSync.addEventListener(Event.SOUND_COMPLETE, loopSoundf);
chnSync.soundTransform=myTransform003;
}
syncer.addEventListener(MouseEvent.MOUSE_DOWN,soundonlySync);
stopper.addEventListener(MouseEvent.MOUSE_DOWN,soundonlySync);
function soundonlySync(event:MouseEvent){
chnSync.stop();
chnSync = sndSync.play();
chnSync.soundTransform=myTransform003;
chnSync.addEventListener(Event.SOUND_COMPLETE, loopSoundf);
}
Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.
TRUSTED BY