| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Dec 2003
Location: UK
Posts: 169
|
i'm using a tutorial of Kenny bellews site for "How to Build a Preloader for Dynamically Loaded MP3's"
I have followed his script but it doesnt work the first time that the swf is loaded, the preloader works fine but the mp3 never starts, as soon as i refresh the page and hit play again the mp3 plays fine. So, obviously the MP3 is being preloaded but for some reason never plays.. the script: ActionScript Code:
and on a button: ActionScript Code:
Help !!! Thanks. |
|
|
|
|
|
#2 |
|
Don
Join Date: Feb 2003
Location: Akron, Ohio USA
Posts: 1,899
|
I think that you need to change the to the following:
ActionScript Code:
__________________
Damn the torpedoes! Full speed ahead. |
|
|
|
|
|
|
|
|
#3 |
|
Banned by AS.org Staff
Join Date: Mar 2002
Posts: 10,534
|
You've used the first part of that tutorial, but should read on the bottom section that starts with...
If you wanted to preload one sound and have it play as soon as it loads, you could also use the onLoad handler. Here is an example using the onLoad handler... |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Dec 2003
Location: UK
Posts: 169
|
hi, thanks for the responses.
Navarone, setting the sound to stream kinda removes the point of preloading the sound as it would have streamed by default anyway. Oldnewbie, I did look at the whole tutorial and tried both methods, each of them suffers similar problems with using event sounds, i dont know if its a cache issue or something but i have had the same problems occassionally with kenny bellews actual fla's which I tested. I've tried playing with relative and absolute paths on the mp3 but that doesnt seem to change anything. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|