View Full Version : Controling music with as
leonthelion
November 9th, 2007, 10:30 PM
How can I start/stop music with action script? Also how could I have a volume control for the music? Thanks
Lou
November 11th, 2007, 10:55 PM
How can I start/stop music with action script? Also how could I have a volume control for the music? Thanks
A great tutorial written by Kirupa himself:
http://www.kirupa.com/developer/actionscript/sound.htm
mySnd = new Sound();
mySnd.attachSound("sound1.mp3");
volume = 100;
mySnd.setVolume(volume);
leonthelion
November 12th, 2007, 10:50 PM
Thanks :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.