21.8. Making Fullscreen Flash Projectors

Problem

You want a projector to play in fullscreen mode.

Solution

Use the fscommand( ) ActionScript function to tell Flash to play in fullscreen mode.

Discussion

You can tell a projector to play fullscreen using the following ActionScript code:

	fscommand("fullscreen", true);

Get Flash 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.