URGENT
- Started
- Last post
- 18 Responses
- Innovate
Thanks, ok is there any way to play a external sound clip in flash using actionscript, it sin the same folder as the swf. have to have my project in in 10 mins n this is the final bit
PLEASE PLEAE HELP ASAP
- Innovate0
this file is toobig to import u se eso need to play it from the directory if its possible?
- Innovate0
anyone??
- stewart0
.fla?
- stewart0
btw, is it mp3 or what?
- stewart0
hey!
- stewart0
i thought it was urgent.
- Innovate0
mp3
winamp media file
- Innovate0
i just want it to load in usin as. dont want to use a mp3 player
need code jsut to load it in :)
- stewart0
yeah right.
you have 1'30 left so use the mp3 player!
- Innovate0
is it not jsut a bit if simpkel code? take it not
- Innovate0
the problem is the file is a huge 64mb so i cant import it n make a swf out of it
- stewart0
64Mb of mp3 externla loaded?
that is 3 hours listening without scrolling forward or backward.
- Innovate0
yeah i no it aint goin on the web its going on a computer, thats why and i cant cut it up
- jpolk0
vo = new Sound();
vo.onLoad = function(success){
if (success) {
vo.start();
} else {
trace("not loaded");
}
};
vo.loadSound('your file');
}
- jpolk0
btw.. htere's an extra 'brace pasted on at the end there...'
- honda0
Innovate, are asking if it's possible to load an external .mp3?
If so, here:
innovateAudio = new Sound();
innovateAudio.loadSound("your_tr... true);That will grab the .mp3 file from your _root folder directory and stream it with only a few seconds delay (depending on your published .swf audio settings).
Hope that helps.
- Innovate0
excellent jpolk that worked fine, and just in time to thanks for that