Playing sound using actionscript

how do i start playing a sound using actionscript?
I want it to play when my _yscale property of a MC is below 30.
I have this code:

if (_yscale<30)
<code to start playing sound which i imported into library>

thanks =)

try this…probably helpful. =)

http://www.kirupa.com/developer/actionscript/sound.htm

thanks a billion unflux, didnt realise kirupa has a tutorial for it…

np. hope it’s what you need. :slight_smile:

if not, we’re always here of course. :wink: