Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.)
Copy link to clipboard
Copied
Classic input text works fine as long as you aren't in Fullscreen mode.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
old thread but still unanswered
what if i want to disable the escape key while in fullscreen mode (in a flash projector)
Copy link to clipboard
Copied
fscommand( "trapallkeys", "true" ); in the root.
If still not working, change the Target to "Flash Player 8" in Publish Settings.
Copy link to clipboard
Copied
Use Flash Player 8 in Target drop down in Publish Settings.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now