Jump to content

Audio not playing on initial opening of browser


Recommended Posts

I have no experience in php or much in xml. I have a problem with the audio not playing until I refresh the browser. I'm on a mac and use firefox and safari. The audio file is around 1MB. I had some help with this site but lost contact with the person that set up the php in my serve. I did learn a little of xml but not much. This was a template and the original audio was 3 differnt mp3's. I replaced them with one of my own and went into songs.xml and did change the title. I got this response in another forum but no answer on how to solve it."you're probably calling the sound.play() before it's loaded enough to start."

1jimage.com/ultimate-deploy/

"you're probably calling the sound.play() before it's loaded enough to start."

 

you have to check for the sound to be loaded before playing it, if its set (in flash) to play only after the sound finishes loading....

 

google flash 8 documentation

google flash 8 Sound

 

there should be enough there and pretty easy to follow

 

hope u get it right

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.