1 Reply Latest reply on May 1, 2007 4:01 PM by dr_ross

    how can I check when the music stops???

      I am linking a mpg music but I want to know when the music stops to link another song. How can I do this??????

      Thanks a lot!

      Brenda S.
        • 1. Re: how can I check when the music stops???
          dr_ross Level 1
          linking a mpg music? not entirely sure what you mean, if you mean you've coded a sound in actionscript like

          var my_sound = new Sound();

          then you can use the onSoundComplete method of the Sound, easiest is to copy and paste the code from the flash help, F1 Key.

          If you mean you've linked to an external music playing source with a getURL call then you'll need to do it through some special server side script depending on the source and circumstances.