SWF Full Screen Effect

Source: Internet
Author: User
Collected on the flash bar:
How to make the full screen effect of SWF files?

Method 1:
The full screen menu bar and toolbar of the browser are not displayed. This full screen is a little complicated and has nothing to do with Flash settings.
Help JavaScript. The method is to add the following between Code:

<Script language = "JavaScript">
<! --
Window. Open ("nfd.swf", "", "fullscreen = 1, menubar = No, width = 100%, Height = 100% ")
// -->
</SCRIPT>

Method 2:
You can also add the following to the geturl command on the first actions of the SWF file:

Javascript: window. Open ("nfd.swf", "", "fullscreen = 1, menubar = No, width = 800, Height = 600 ")

Such full screen protection is similar to screen saver. Exit with ALT + F4 or the set button. Set fullscreen to = 0, but the browser dishes are not displayed.
Full Screen in the toolbar.
There is also a Syntax:

Javascript: window. Open ("*. SWF", "", "menubar = No,
Toolbar = No, location = No, status = No, fullscreen = yes ")

Method 3:
It is a little troublesome. You need two webpages. You can create a blank webpage and add code:

<HTML>
<Script language = "JavaScript">
Window. Open ("*. htm", "newwin", "fullscreen = Yes, status = No, location = No,
Toolbar = No, directories = No, menubar = No, resizable = Yes, scrollbars = No ");
</SCRIPT>
</Html>

*. Htm you can replace it with the web page you want to open in full screen.

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.