Solution | page | problem Flash Player 9 has been on the internet for a long time. In the previous version of Flash Player in order to realize the Web page Flash movie full screen must rely on javascrīpt to achieve. But for Flash Player 9, there's no need to bother adobe for its ability to add Full-screen mode to the browser Flash movie. It is said that Full-screen mode is mainly for Flash video and Flash applications to display the need to increase. It makes it easy to control the full screen playback of the Flash movie in the Web page by using as.
Below is a full-screen example, download after decompression, open the. htm file click on the page below the Flash movie button, you can change the Web page Flash movie full screen. Press the ESC key to exit the full screen. Of course, if you have already installed the Flash Player 9 Active x control.
Its approach is very simple, just two steps:
1, add the AS2.0 statement on the button:
On (Press) {
stage["displaystate"] = "fullscreen";
}2, add to the page in the call Flash Movie:
<param name= "allowFullScreen" value= "true"/>
It is to be noted that:
1, in full screen mode, the input text box can not be entered.
2, you must use the event handler to invoke the "Stage" statement to take effect.
Click here to download the source file