0 Replies Latest reply on Dec 12, 2006 5:36 PM by xander.v

    external mp3 toggle switch

    xander.v
      Hey there!

      I'm trying to create a simple toggle button that will stop an external mp3 when pressed, and then restart the mp3 when pressed again.

      Currently, I've loaded the mp3, and it plays back fine.
      The stop portion of the button works, it is the restart portion that is giving me trouble. I don't know if my if/else statement is incorrect, or if I am trying to load the mp3 incorrectly. Also, I don't know if I am properly defining the variable "songplay."

      The following code is from the first frame of the movie, when I load the mp3, and then from the code attached to the button.

      Thanks for any help or insight!

      -alex