FLASH Full screen has two classes of four kinds

Source: Internet
Author: User

FLASH Full screen has two categories of four:

1, do not use the browser directly with the Flash Player type:

A, do not display the Flash Player menu bar full screen (similar to screen saver effect), at the first frame of the actions with the FS command,
Select Fullscreen as true in the For standalone player option. Press ESC to exit or set a button in run
Using the FS command on the actions, select quit in the For standalone player option to exit. Incidentally:
The options on the for standalone player are only suitable for playback with the Flash Player.

B, if you just want the SWF file to fill the window of the Flash player, nothing needs to be done. Direct-click the SWF file.
The above kind of full screen is more used in non-network operation.

2, the second category is not flash browser (IE) running in full screen:

A, only fill in the browser: This situation is relatively simple, regardless of whether you set the Flash is 800*600, as long as the SWF file in the HTML file width= height= after the two parameters set to 100 can, of course, can also be in the flash To export the settings for the HTML file by opening the File menu: Select Publish Settings Pop-up Export Setup dialog box: Dimensions option under HTML tab select Percent, and in width and height box, and run this HTML file with the same name as the SWF with the direct plus statement. This full screen of browsers has nothing to do with SWF file settings, but it's best to set the size near 700*400, or it can easily cause images, especially Chinese characters, to be distorted.

B, do not display the browser menu bar, the toolbar full screen. The full screen is slightly more complex and is not related to flash settings, but it is done with the help of Javacript. To do this, add the following code to

<cript language= "Javacript" >
<!--
window.open ("nfd.swf", "" "," fullscreen=1,menubar=no,width=800,height=600 ")
-->
</cript>

Note: nfd.swf change to the SWF file name you want to play.
You can also add the URL command on the first frame of the SWF file:

Javacript:window.open ("nfd.swf", "" "," fullscreen=1,menubar=no,width=800,height=600 ")

Note: nfd.swf change to the SWF file name you want to play.
This full-screen screen is also similar to a screensaver, using the Alt+f4 or Settings button to exit. Set the Fullscreen to = 0, just do not display the browser menu bar, toolbar full screen.

When playing with the player of FLASH, you can play it in full screen even if you do not have the Fscommand set in Ctrl+f.
OK, so that's all you need to do with the full screen, you can try it on your own (ie for example).



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.