teaser317
03-06-2008, 11:35 AM
Hi there! I've got 45 min long FLAC file. This is an entire album. So how do I split it into separate tracks? Cheers! :) BTW I can convert it to M4A or MP3.
Hi,
If you convert to .mp3 format, you can load the sounds externally into flash at runtime with a sound object. How you manage to "split" the file will probably take a sound editing program other than Flash. Once you have the files in .mp3 format...
mySound=new Sound(this);
mySound.loadSound("someFile.mp3",true);
Now, say you have several sounds that you want to load back to back. You could use a naming convention that includes a number for each sound. This would allow you to use a count variable to auto increment the next sound to be loaded on an onSoundComplete event. Something like..
count=1;
mySound.onSoundComplete=function(){
count++;
mySound.loadSound("someFile"+count+".mp3",true);
}
The above would sequentially load external .mp3 files named....
someFile1.mp3
someFile2.mp3
someFile3.mp3
etc...
hope it helps
NTD
Powered by vBulletin™ Version 4.1.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.