| re: How to play a flash movie continuously while the user browses my page?
Hi joedeene.
Thanks for the suggestion, but I can't really see how this event would help.
The problem is; when a client enters my page, the flash movie is loaded and the sound starts to play. If the client then decides to navigate away from that page to another section of my page, the flash movie is re-loaded and starts playing from the beginning again.
The best solution I managed to come up with was using JavaScript.
I basically created a variable containing the current position of the player within flash, which I had the JavaScript read every 250ms and save in a cookie.
Then, whenever the client entered a page, I would check that cookie and start playing from the saved position.
This is obviously a little defective, because even tho the sound would start playing from the same position, there was always a couple of seconds cap while the page loaded.
I have actually abandoned this function of the web for now. I plan to re-create the web to operate entirely client-side, using AJAX to load required data from the server, which pretty much takes care of this problem.
But thanks for the help tho.
Come to think of it... that even handler you mentioned might solve another problem I have been working on.
|