![]() ![]() ![]() CLICK, onClickStop ) //button for stopping the music load ( new URLRequest ( "name.mp3" ) ) //loading an mp3 into the soundobject Stop ( ) // declaring variables var pausePoint : Number = 0.00 //Make a pausepoint, for resuming playback var soundClip : Sound = new Sound ( ) //Make a soundobject var sndChannel : SoundChannel = new SoundChannel ( ) //Make a soundchannel var isPlaying = false //a variable for checking if the music is playing
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |