Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

fscommand( "trapallkeys", "true" ); not working under CS5

Explorer ,
May 14, 2010 May 14, 2010

Hi,

this code:

stage.displayState = StageDisplayState.FULL_SCREEN;
fscommand( "trapallkeys", "true" );

is not working when publishing to Windows Projector under Flash Pro CS5. The ESC key on keyboard is minimalizing the projector window.

When using the same code in Flash CS4 with exactly the same settings (Player: Flash Player 10 in both situations is selected) everything goes like it should, and the ESC key is blocked.

is it a bug or just a new "feature"?

or mabye I should change sth in the as3 code?

TOPICS
ActionScript
8.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 22, 2010 May 22, 2010

I am seeing this problem as well. I am running Adobe Master CS5 on Windows 7 64-bit and publishing to Windows projector. Input textfields also do not work in Windows projectors published with CS5.

Current workaround: save as CS4 and publish from Flash CS4.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 22, 2010 May 22, 2010

You're right - Input and dynamic text boxes don't really work in CS5.

If you want an input text box in CS5 without having to work in CS4, use TLF Text as the engine and select "Editable". Hope that helps, iheart2code.

Sorry grzegorz.markowski, but I don't know why "trapallkeys" doesn't work. If you like, though, you could create a "toggle full screen" if you want the user to be able to choose whether or not they want the animation full screen. (That's what I'm doing for the game I'm developing right now.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2010 May 24, 2010

Classic input text works fine as long as you aren't in Fullscreen mode.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 26, 2010 May 26, 2010

Flash Player 10.1, included in the CS5 product, restricts keyboard input in fullscreen mode. This is to match the Flash Player's security level already available in the browser.

JV

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 06, 2011 May 06, 2011

old thread but still unanswered

what if i want to disable the escape key while in fullscreen mode (in a flash projector)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2016 Apr 27, 2016
LATEST

fscommand( "trapallkeys", "true" ); in the root.

If still not working, change the Target to "Flash Player 8" in Publish Settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 27, 2016 Apr 27, 2016

Use Flash Player 8 in Target drop down in Publish Settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines