Sound on / off

Hi to all,

i made a one intro animation,the animation cotains music , i placed in a MC,
when the user run the intro the sound is play. when he press the stop btn
it sohld be stop same method for play. i used this code

on release () /// for stop button///
{
stop all sounds()
}

on release () /// for play button///
{
playallsounds()
}

stop button work fine but play?