all groups > flash actionscript > may 2005 >
You're in the

flash actionscript

group:

sounds



sounds SkidOvidiu
5/29/2005 12:00:00 AM
flash actionscript: could someone tell me some quick " forumlas" to add sounds to:
-a frame
-a button
probably the same thing :)
there is another thing too
I dont know if its possible to open a song part by part , not all at once
makeing something like a buffer so I dont have to wait that much at the
begining to open all the song all at once

Re: sounds kglad
5/29/2005 5:45:43 PM
Re: sounds kglad
6/10/2005 12:00:00 AM
right click on your wav in the library, click on linkage, tick export for
actionscript, type a name (say, yourWav) in the linkage id box and click ok.

attach to a frame that plays no later than the frame that contains your button:

wavSound=new Sound();
wavSound.attachSound("yourWav");

attached to your button use:

on(rollOver){
wavSound.start();
}
Re: sounds SkidOvidiu
6/10/2005 1:50:34 PM
AddThis Social Bookmark Button