This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

flash contextMenu is not working in Fullscreen mode

  • 1 baphendule
  • 1 inale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu philipp

more options

In as3, if I set stage.scaleMode = StageScaleMode.SHOW_ALL right before fullscreen, and stage.scaleMode = StageScaleMode.NO_SCALE on exit fullscreen, the contextMenu is not woking in fullscreen mode. This issue never happens on IE. Steps: 1. run the following app 2. click the fullscreen button 3. press ESC to exit fullscreen 4. click the fullscreen button again. 5. right click your mouse expect result: contextMenu shows and is selective(working good) actual result: contextMenu shows but is not working


as3 code: <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script>

try { stage.addEventListener(FullScreenEvent.FULL_SCREEN, handleFullScreen); stage.displayState = StageDisplayState.FULL_SCREEN; } catch(e:SecurityError) { stage.scaleMode = StageScaleMode.NO_SCALE; } }

private function handleFullScreen(event:FullScreenEvent):void { if(event.fullScreen) { } else { stage.removeEventListener(FullScreenEvent.FULL_SCREEN, handleFullScreen); stage.scaleMode = StageScaleMode.NO_SCALE; } } ]]> </mx:Script> <mx:Button label="FullScreen" click="listenFullScreenClick(event)" /> </mx:Application>

In as3, if I set stage.scaleMode = StageScaleMode.SHOW_ALL right before fullscreen, and stage.scaleMode = StageScaleMode.NO_SCALE on exit fullscreen, the contextMenu is not woking in fullscreen mode. This issue never happens on IE. Steps: 1. run the following app 2. click the fullscreen button 3. press ESC to exit fullscreen 4. click the fullscreen button again. 5. right click your mouse expect result: contextMenu shows and is selective(working good) actual result: contextMenu shows but is not working as3 code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ public function listenFullScreenClick(event:MouseEvent):void { stage.scaleMode = StageScaleMode.SHOW_ALL; try { stage.addEventListener(FullScreenEvent.FULL_SCREEN, handleFullScreen); stage.displayState = StageDisplayState.FULL_SCREEN; } catch(e:SecurityError) { stage.scaleMode = StageScaleMode.NO_SCALE; } } private function handleFullScreen(event:FullScreenEvent):void { if(event.fullScreen) { } else { stage.removeEventListener(FullScreenEvent.FULL_SCREEN, handleFullScreen); stage.scaleMode = StageScaleMode.NO_SCALE; } } ]]> </mx:Script> <mx:Button label="FullScreen" click="listenFullScreenClick(event)" /> </mx:Application>

All Replies (1)

more options

hello niunaiwehua, you will probably get more helpful answers, when you post your question in a forum specialised on flash development like http://forums.adobe.com/community/flash. thank you