all groups > flash (macromedia) > december 2005 >
You're in the

flash (macromedia)

group:

Loading and playing external mp3


Loading and playing external mp3 seotech
12/5/2005 10:51:19 PM
flash (macromedia):
Hi,
I have searched the newsgroup for an answer to this problem, with no
luck.
I have a movie with a series of scenes, each with it's own mp3 file to
play.
I am using the following code to stop the movie, load an external mp3
file, play it, and then resume the movie (thanks to the person who
posted the example code in the group).
The movie plays perfectly locally, authored in Flash MX 2004
professional, published as Flash 6 and Actionscript 1.0.
However when I upload the movie to the server the sounds don't play.
Can anyone help? I would really appreciate it.
Here's the code I'm using...


stop();
//Load the sound;
s = new Sound();
s.loadSound("title.mp3");
s.start();
//Action when sound is finished;
s.onSoundComplete = function() {
play();
;
};
Re: Loading and playing external mp3 Ricardo
12/5/2005 11:26:24 PM
These migh sound like stupd questions, but they were the first to come
into my head when i read your post.

Did you upload the file 'title.mp3' ?
Is the case right (if you are using a *nix server) eg: Title.mp3 ?

HTH

Ricardo.
Re: Loading and playing external mp3 seotech
12/6/2005 2:26:28 AM
Yes, files are uploaded, on an NT server.
They are in the same relative position to the calling file on the
server as they are on my pc.
AddThis Social Bookmark Button