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

Adobe AIR Development

Reply
Developer
Posts: 250
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

Blackberry browser triggers popup blocker by using navigateToURL

Hi,

 

This is more Flash AS3 than an AIR question, why does the BlackBerry browser popup blocker get triggered by a simple navigateToURL request from an embedded SWF?

 

btn.addEventListener(MouseEvent.CLICK, openWebsite); 

function openWebsite(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
}

 

Is there a way to open a website without triggering the popup blocker? 

Thanks for any tips Smiley Happy