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. http://www.1jimage.com/ultimate-deploy/
you're probably calling the sound.play() before it's loaded enough to start.
Keep in mind also that adobe has kind of screwed up the audio capabilities in flash (they've even admitted it in interviews) so maybe there's something legacy-type of audio calls that don't work. I can't really say as you haven't given enough detail, but that's my thoughts.
Try other browsers? Does it work locally (localhost)? What Flash player? etc etc
It has the same problem in Safari. Camino, and firefox. Cant check it in explorer because I'm on a mac and my exporer is really old. lease tell me what files you need and I'll get them to you or what code you need to look at and I'll copy/paste it in here. I have the latest Flash Player installed.http://www.1jimage.com/ultimate-deploy/ Jim
Originally posted by: Storm you're probably calling the sound.play() before it's loaded enough to start.
Keep in mind also that adobe has kind of screwed up the audio capabilities in flash (they've even admitted it in interviews) so maybe there's something legacy-type of audio calls that don't work. I can't really say as you haven't given enough detail, but that's my thoughts.
Try other browsers? Does it work locally (localhost)? What Flash player? etc etc
It has the same problem in Safari. Camino, and firefox. Cant check it in explorer because I'm on a mac and my exporer is really old. lease tell me what files you need and I'll get them to you or what code you need to look at and I'll copy/paste it in here. I have the latest Flash Player installed. 1jimage.com/ultimate-deploy/
Originally posted by: Storm you're probably calling the sound.play() before it's loaded enough to start.
Keep in mind also that adobe has kind of screwed up the audio capabilities in flash (they've even admitted it in interviews) so maybe there's something legacy-type of audio calls that don't work. I can't really say as you haven't given enough detail, but that's my thoughts.
Try other browsers? Does it work locally (localhost)? What Flash player? etc etc
If this is the problem how can I fix it? you're probably calling the sound.play() before it's loaded enough to start.
post once then be patient and start being helpful and you might get help
This is ALL I'm going to say and I'm never posting in this thread again......
IF this worked before and you've changed nothing inside the Flash, then you've done something wrong and there's NO CODE PROBLEMS but YOU have to fix it and narrow things down YOURSELF before anyone can magically help you.
You've done nothing and provided no way for anyone to help.
it could be an upgrade to PHP problem.... it could be a flash problem into a new version..... it could be a flash adobe bug...... it could be you screwed up somewhere..... it could be you've missed a tag editing the xml.... it could be....etc....etc.....
If you ask nicely, someone else might be able to help. I'd suggest you try other forums and be as DETAILED and DESCRIPTIVE as possible.
The funny thing is I really dislike people who grab other people's work and use it without understanding what the hell they are actually doing.
Storm is right on all counts...
Maybe have a look at some tutorials ie:http://archive.flashnewz.com/flashnewz-5-20040624AccessingID3Tagsexternalmp3.html
run the sound when its fully loaded rather than when its still streaming.
depending on what player version your compiling which tutorial will be relevant the one I posted came up for flash6 googling and may or may not be usefull. Also flash books are a good starting point. If you show some effort you will get more help online, I rarely touch sound (outside of video) so without a line of code I am not even going to try guessing, so Storm is you best bet.
Good luck.
When I go tohttp://www.1jimage.com/ultimate-deploy/ in
Firefox 3.0.6 on Ubuntu - sound plays without refresh. (Flash player 10 debug)
Firefox 3.0.6 on Windows XP - plays without refresh. (Flash player 10 debug)
IE 6, Windows XP - says "buffering" but does not play until refresh. (Flash player 10.0.12 debug)
I don't have IE 7 with which to test, but sadly these browser/flash player related problems are a bugger to fix.
I guess what you might need to do is as JLM suggests, wait until the whole MP3 is loaded before playing.
As a side note, while I like the way you fade out the music when the player is stopped, I hate websites that force gratuitous music on me- I work with headphones and my own music playing all the time. I don't like interference.
In my opinion, unless you are a musician, the music is unnecessary.
In my opinion, unless you are a musician, the music is unnecessary.
And if your serious about the graphics then, you want them judging you on the work you show, not which band you like, if the music is done really well to inhance the experiance but background is often not appreciated. Put your effort into the work..