How to Make a Full Screen Flash Movie
Full-screen Flash movies can really create a theater-type experience. By filling the entire monitor, these movies can focus the user's attention entirely on your work. Achieving this effect is fairly simple. Making a full-screen Flash movie is not much different from making a normal Flash movie. It requires simply a bit more code. With just the knowledge of a few lines of ActionScript 3.0 code, you can have a full-screen Flash movie in a matter of moments.
Instructions
-
Making a full-browser Flash movie
-
1
Create your Flash movie.
-
2
Open your Actions window. If you don't have one already, create a new layer by clicking the "Create a New Layer" button under the timeline. In the new keyframe, navigate to "Window," then "Actions."
-
-
3
Write the following in your Actions window:
fscommand("fullscreen", "true")
fscommand("allowscale", "false") -
4
Export your file into a .swf file by pressing "Shift" and "Enter."
Making a full-screen Flash movie
-
5
Create a button that will give users the option to view the Flash movie full screen. Put it in your library, and name it in the Properties window accordingly.
-
6
Place the following code in your Actions window:
nameofYourFullScreenbutton.addEventListener(MouseEvent.CLICK, nameofYourFullScreenfunction);
function nameofYourFullScreenfunction(event:MouseEvent):void
{
stage.displayState = StageDisplayState.FULL_SCREEN;
} -
7
Close your Actions window, and navigate to "File", then "Publish Settings."
-
8
Navigate to the HTML tab of the Publish Settings window, and select "Flash Only --- Allow Full Screen" from the Template window.
-
9
Navigate to "File," and select "Publish." This will create an HTML file that will you to make your Flash movie full screen.
-
1
Tips & Warnings
Make sure your users have Flash player 9.0.28 or later. Anything else will not allow the movie to play.