codewala

code it

New Features of Adobe Flash 11.3 Player

Following are some of the new features provided by Adobe Flash 11.3 player

1. Keyboard input in fullscreen mode
as code

—————————————————————————————————-
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

—————————————————————————————————–
parameter code which needs to into the HTML page

—————————————————————————————————
<param name=”allowFullScreenInteractive” value=”true” />

—————————————————————————————————

2. right click mouse event
now on clicking right click – the flash menu can be blocked by adding this mouse event.

—————————————————————————————————
stage.addEventListener(MouseEvent.RIGHT_CLICK, function(e:Event){});

—————————————————————————————————

Advertisements

August 10, 2012 Posted by | actionscript 3.0, Flash, HTML | Leave a comment