Hello,
I’ll explain the odd behavior I’m experiencing as best I can. I would normally post a .AS file to reveal my code, but unfortunately, this code doesn’t belong to me, and I don’t wish to get in trouble.
I have a Flash experience that auto rotates through 6 images before returning to the first image and stopping. This is all based on the Timer class. It works fine when publishing the Flash file, or viewing it in IE8 and Chrome 4. But, it acts differently in FireFox 3 (all browsers tested on PC).
When testing this behavior, I go to the page that contains the Flash experience and either open a new tab and stay there, or minimize the browser. I’ll wait a good minute before I go back to look at the experience to give it enough time to rotate all images. I see the first image being displayed (which should be normal), but as soon as I click to move to (let’s say) image 6, it will quickly animate through all 6 images. No matter what I click, it will cycle through the images until I refresh the page.
When I test again, only waiting long enough to see the rotations happening, I still see the first image. As soon as a Timer event is fired, it cycles through what ever images it was supposed to before hand.
It would appear that FireFox is somehow preventing the Timer event handler from running its function while the user is focused elsewhere. Then, when the user comes back and a Timer event is fired, it will then handle all subsequent events. This is just a guess on my part.
Has anyone else run into these types of issues with AS3 and FireFox? In case this makes any difference, I’m publishing for Flash 9 plug-in in CS4.
Thanks!