Thorpe, this is linked with the other thread about calling javascript from php.
I have a flash mp3 player, you can see it working here: http://www.twice-as-nice.co.uk/album_details.phtml?show=tracks&album_id=24
Now flash loads up, calls a JS function ("varURL = document.location.href" ) that passes the entire url above to flash, my flash then snips off the end of that url leaving just "album_id=24". I then use that var to send to a php file which queries the database returns a list of mp3s for my flash to play... PHEW!
Now that alll works great except for one little thing, in IE calling that JS function directly from flash causes any animated gifs on the same page to stop looping.
I know that sounds ridiculous but its true, it happens 🙁 If the whole world used Firefox I wouldn't be on here now!
So I need to come up with a solution, I can't call the JS directly from flash so gives me 2 options:
A) Use an alternative to that JS function to getting a url into flash
😎 Use php as a go between, so instead of flash->JS I have flash->php->JS
Hope all that makes sense and you can see what I'm trying to do!