MP3s in Flash Mx 04
MP3s in Flash Mx 04
Out of context: Reply #1
- Started
- Last post
- 4 Responses
- VonS0
Create an instance of the sound object and load your mp3 files into it as needed. To control sound quality, goto file->publish settings, select the Flash tab and select your desired settings in the Audio stream and Audio event parameters.
Here's the code:
//set up the sound object
var MySound:Sound = new Sound();
MySound.setVolume(80);//load mp3 and start the sound
MySound.loadSound("song1.mp3", true);Hope that helps,
VS
MySound.start.start();