The following simple code snippet explains how to get an eventListener for FullScreen Event in Adobe AIR or FLEX. The function “onScreenModeChange ” gets called when you maximizes your window.
private function init():void {
stage.addEventListener( FullScreenEvent.FULL_SCREEN, onEnteringFullScreenMode);
private function onEnteringFullScreenMode( e:FullScreenEvent ):void {
if( e.fullScreen ) {
// Do something on fullscreen……………
} else {
// Do something else………..

Please leave your valuable comments if this post was useful…..


Leave a Reply

Your email address will not be published. Required fields are marked *




Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.