PDA

View Full Version : Pausing after preload if browser window is not active window


ragnarkarlsson
10-08-2002, 01:54 PM
Hi folks,

I'm trying to figure out how to do this, but so far I have had no success. The intention is for anything like a Flash trailer, intro movie or such like which is large to preload and once this is done check to see if the user is still viewing that browser window.

So if during the preloading the user opens/selects a different window and the preloading finishes then the Flash will go to a paused screen, awaiting the user to indicate they want to proceed (eg a play button). If however the user still has, or has returned to, the browser window it will skip the pause screen and play the animation.

For an example the 9th chapter of Ninjai.com seems to do this (I haven't checked the other chapters).

Any help would be appreciated.

Ragnar

webmaster@ragnarkarlsson.com

cobo
10-09-2002, 12:56 PM
what about creating a transparent button that covers the hole screen. on roll over the movie start playing... so it only start when the window is active...

:rolleyes: cobo