I’m making a flash game, and I want to make a button. When I click on it, pause the music. When I click again, resume the music.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do it this way
When you stop, you save the current position, when you play, you play from the last saved position, if you set the _soundPosition propery to 0, the the play will do it from the beginning.