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
aleph1
Posts: 4
Registered: ‎07-04-2011
My Device: PlayBook
My Carrier: Fido

Bug w/Flash causing Keyboard display.

When my Flash application is accessed through the Playbook's browser, the native keyboard begins to display and then dissappears when a text link is triggered by the Flash Player even if I prevent the default behaviour for the TextEvent, and stop its propagation. For example:

 

var t:TextField = new TextField();

t.htmlText = '<a href="http://google.com/">Google</a>';

t.addEventListener(TextEvent.LINK,eTextEvent);

 

function eTextEvent(e:TextEvent):void

{

e.preventDefault();

e.stopImmediatePropagation();

}

 

From a usability perspective this is incredibly irritating, as the keyboard should only display when the user clicks within a field that allows for text input. Does anyone know how to prevent the Playbook's keyboard from displaying in this case?

Please use plain text.