View Full Version : MP3 to swf?
Vermillien
02-14-2004, 11:27 PM
I am using a music player that is entirely action scripted to load external sound. The mp3's need to be converted to swf format, which I had to do by hand, but I don't know if I did that correctly because the songs take long to load into the player. I am working on a Mac, so can't download that PC software to convert them. I created an .fla, imported the mp3 (which is a full length song) into the library, added the sound to the timeline and dragged it out to the full length of the song (because the song wasn't playing at full length otherwise). Now the player works fine, but instead of moving onto song # 2, it starts the first song again until you select the second song, which then has to load.
Is there any way to compress the songs further so they load quicker?
What is the best way to create a swf from an mp3? I've got the .fla file set to 21 fps, 16kps. I don't know if that is correct or not.
:: Flash Newbie starting from the ground up....
Thanks for any help anyone out there can offer.
farafiro
02-15-2004, 06:08 AM
http://www.soundnails.com/
Vermillien
02-15-2004, 11:02 AM
Thanks for the url. I knew there was something out there, but couldn't find it. I had to send an email to ask about system requirements, since they don't specify any. I'm working on a Mac, not PC, so most of the time these programs are designed for PC users.
Thanks again!
Vermillien
02-18-2004, 10:17 AM
I just got a reply today. Soundnails is only for PC users. I have created the songs manually in Flash:
1. Created new .fla for the song
2. Import it to the lib
3. Drag it onto the stage and extend the timeline to the full length of the song (which can be found by viewing the Properties of the mp3 in the library)
4. Add a stop action to the last frame to prevent it from restarting again
Simple enough. Set the fps to 12 so file size is smaller.
lullfoolz
08-02-2005, 10:23 AM
Hi to all, newbie here. I faced the same problem as Vermillien. I'm using a player that plays external swf. When I converted my mp3 into swf, the player is able to play it but the equaliser doesn't move at all. Any idea why? Thankx in advance :)
farafiro
08-03-2005, 04:52 AM
why don't u load the mp3 on the fly
lullfoolz
08-05-2005, 02:30 PM
why don't u load the mp3 on the fly
Thanks for your help, but what does that mean? Sorry, I'm a very new newbie and i don't understand that.Can you please explain further? Thanks in advance :)
farafiro
08-06-2005, 05:07 AM
Oooops, sorry
on the fly = load them externaly and let flash play them
see this WOW tuts
http://www.kennybellew.com/tutorial/
lullfoolz
08-06-2005, 05:46 AM
Thanks alot. I will go check it out :)
Invader Zim
08-06-2005, 07:52 PM
function load_music(music_title){
my_music.loadSound(music_title);
}
This is an example for a simple function to load a specified sound.
For further question look up the Sound class in the manual (page 748).
The manual can be downloaded at http://download.macromedia.com/pub/documentation/en/flash/mx2004/fl_actionscript_reference.pdf (http://download.macromedia.com/pub/documentation/en/flash/mx2004/fl_actionscript_reference.pdf )
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.