Coding Thread, Flash CS3 Help in Coding and Web Development; Hi
I am creating a flash file that when it is opened as swf it starts playing an mp3 which ...
18th March 2008, 12:06 PM #1
Flash CS3 Help
I am creating a flash file that when it is opened as swf it starts playing an mp3 which is stored in the same folder on the cd. I can get it to play fine using the below code. I am trying to add a button to pause it or even mute it but i cant get it to work. Can some one point me in the right direction.
var req:URLRequest = new URLRequest("abc.mp3");
var trans:SoundTransform = new SoundTransform(-50, -50);
var s:Sound = new Sound(req);
By Joanne in forum How do you do....it?
Last Post: 7th February 2008, 11:46 AM
By timbo343 in forum Windows
Last Post: 22nd May 2007, 03:00 PM
By ctbjs in forum How do you do....it?
Last Post: 17th May 2007, 08:36 AM
By Quackers in forum Web Development
Last Post: 28th June 2006, 05:55 PM
By browolf in forum Jokes/Interweb Things
Last Post: 5th July 2005, 09:47 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)