I have a movie that loads 4 sample mp3's for background music dynamically when you select one of the samples. The first sample loads as default as soon as you enter the site. However, it works fine locally, but once on the server it doesn't work right.
If you click the stop button first and then click play it loads and plays, but not until you click the stop button. You have to hit the stop button only if it is the first time you try to play the sample. You can see what I mean if you go to www.delstrange.com/2bluemoon
I Have attched the .fla if you care to take a look at the code.
Looking into it... But as you can see, you're not the only one with problems!
I've never really got into sound stuff, and I'm determined to find a solution to this before I call it a night!
At first view, it seems that as if your were loading a regular .swf, you cannot have a .mp3 play until it has fully downloaded. That's why it works on the second run, either by stopping it or a browser refresh, because then it's had time to dowload, and the start action is not ignored as it seems to be the first time you use it, on the same frame action as the loading itself.
Yeah, I see what you're getting at. But it is still weird. Maybe I should try it as streaming rather than as an event sound. That way, it will start playing as soon as a portion of it is downloaded.
Okay, maybe I don't have it figured out. If I make it streaming then it doesn't loop but it does start playing right away. It will only loop if I make it an event.
If you would be so kind. I just know you are better at this programming stuff than I am.
Or if you think it would be easier to try and get it to loop as a streaming sound by using the above example that I put earlier when I thought it was working.