# Sound Object FMX AS 2.0

**URL:** <https://forum.kirupa.com/t/sound-object-fmx-as-2-0/308568>\
**Category:** flash\
**Created:** [April 26, 2010, 4:23am UTC](https://forum.kirupa.com/t/sound-object-fmx-as-2-0/308568 "2010-04-26T04:23:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![macneil](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@macneil](https://forum.kirupa.com/u/macneil)\
**Post date:** [April 26, 2010, 4:23am UTC](https://forum.kirupa.com/t/sound-object-fmx-as-2-0/308568/1 "2010-04-26T04:23:11Z")

</div>

Hi, can someone tell me if there is something wrong with this? playbtn\_mc is a button with that instance name… The button is on the main timeline not in another mc, I tried \_root.my\_sound.start(); also. The mp3 name is correct and is in the same folder as the fla and swf

playbtn\_mc.onRelease = function(){  
var my\_sound:Sound = new Sound();  
my\_sound.loadSound(“backtoschool.mp3”, true);  
my\_sound.start();  
}

I’ve been to the kennybellew as2 tut but cant seem to get it working with onload?

Thanks
