Most of the keyboards are blocked in the SWF full screen mode and cannot be entered.

Source: Internet
Author: User

When I tested my multimedia player this afternoon, I found that in full screen mode, the input box could not be input.ProgramInCodeCenter control focus. I did not succeed in repeated debugging. I finally checked it online and found that many people encountered the same problem. Cause: In the SWF full screen mode, Flash Player 9 shields keyboard operations (except the ESC key). In the air mode, the keyboard input is not blocked in full screen mode; flash Player 10 allows more keyboard operations (There is only support for "tab, the spacebar, and the (Up, down, left, right) arrow keys").

I will share my accumulated content with you below:

"Security

End-user security was a key consideration in the implementation of this feature, and developers need to understand the following end-user, security-related restrictions and design content accordingly:

  • To enable full-screen mode, developers must add a new<Object>And<Embed>Tag parameter,Allowfullscreen, To their HTML. This parameter defaultsFalse, Or not allowing full screen. To allow full-screen, developers must setAllowfullscreenToTrueIn their<Object>/<Embed>Tags.
  • An overlay dialog box will appear when the movie enters full-screen mode, instructing the user how to exit and return to normal mode. The dialog box appears for a few seconds and then fades out.
  • The ActionScript that initiates full-screen mode can be called only in response to a mouse click or keypress. if it is called in other situations, it will be ignored (in ActionScript 2.0) or throw an exception (in ActionScript 3.0 ).
  • Users cannot enter text in text input fields while in full-screen mode. all keyboard input and key-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts that take the viewer out of full-screen mode.
  • The user can disable full-screen mode for all Flash movies by adding a setting to the Flash Player configuration file MMs. cfg. the file is described in the same te, IT administration: Refreshing Flash Player auto-update notification. add the line:Fullscreendisable = 1To the mms. cfg file to disable full-screen mode ."

From: http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

 

"If you're okay with using air instead of flex you can run in full-screen mode with full keyboard input enabled: Setting the displaystate property of the stage to stagedisplaystate. full_screen_interactive places the window in full-screen mode, and keyboard input is permitted in this mode. (In SWF Content running in a browser, keyboard input is not permitted ). to exit full-screen mode, the user presses the Escape key."

From: http://stackoverflow.com/questions/1176639/text-input-fields-in-flex-when-full-screened-does-not-work

 

Flash 10 security changes good and bad, mostly good (full screen input, rtmfp, clipboard, Local save and load)ArticleIf you are interested, you can take a look. Link: http://drawlogic.com/2008/09/28/flash-10-changes-good-and-bad-mostly-good-full-screen-input-rtmfp-clipboard-local-save-and-load/ because the article is really good, I will repost the full text in the next article!

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.