Topic: Switch Music ON/OFF
hi..
does anybody know how to add a switch to simpleviewer to turn off/on the music?
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v1 → Switch Music ON/OFF
hi..
does anybody know how to add a switch to simpleviewer to turn off/on the music?
Basically you need to do the following
Add a pause/play movie clip button to the fla just like the other buttons already there
Look at how the other buttons are added to the stage
In StageManager.as look at the sound code lines 149 - 155 (musicSnd.loadSound)
google something like "loadsound pause"
Now you need to take what you found googling and use the code to add a function to your pause/play button.
SimpleViewer Forum → SimpleViewer-Pro v1 → Switch Music ON/OFF
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.