lunedì, aprile 09, 2007

Full-screen mode in Flash Player 9

I was playing with StumbleUpon this weekend and "stumbled upon" this neat example of toggling to/from "full screen mode" in Flash 9. Further, there are a whole bevy of examples at Adobe Labs.

*

I became interested in how this is done, and found this useful Adobe tutorial: Exploring full-screen mode in Flash Player 9. Here's a quote from the introduction:

"Full-screen mode was already supported in previous versions of the Flash stand-alone player and projectors, and we have not changed that implementation. However, we have added new ActionScript that will work in both the stand-alone player and the browser players, and a new HTML tag parameter allowFullScreen to enable the mode. The full-screen mode in Flash Player is initiated through ActionScript and can be terminated through ActionScript, keyboard shortcuts, or by the user switching focus to another window. Full-screen mode is not supported for windowless or transparent Flash movies. If the user has multiple monitors, Flash Player uses a metric to determine the monitor that contains the greatest portion of the Flash movie and then goes full-screen in that main monitor.

"You must have version 9,0,28,0 or greater of Flash Player installed to use full-screen mode."