Problem Resolution: How to make the Flash movie full screen in the Web page?

Source: Internet
Author: User
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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.