Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
Posts: 4
Registered: ‎07-04-2011
My Device: PlayBook
My Carrier: Fido

Disable double-click to launch Flash fullscreen.

We ae developing a web-based Flash application that is entering fullscreen mode when a user clicks the same navigation element two times in rapid succession. I can workaround this by disabling fullscreenmode in the Flash embed, but we want the user to be able to enter fullscreen mode using a button in our application. If I leave allowFullScreen as true, and try the following neither solutions works:

 

Solution 1

stage.doubleClickEnabled = false;

 

Solution 2

stage.doubleClickEnabled = true;

stage.addEventListener(MouseEvent.DOUBLE_CLICK, eDoubleClick);

function eDoubleClick(e:MouseEvent):void{

     e.preventDefault();

     e.stopImmediatePropagation();

}

 

Any ideas?

Developer
Posts: 236
Registered: ‎07-27-2012
My Device: BlaclBerry PlayBook 16gb, BlackBerry dev alpha
My Carrier: Airtel

Re: Disable double-click to launch Flash fullscreen.

Even i h have the same problem i want to disable the dialog "drag the top frame down to exit full screen", any sugetions ?