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
New Developer
Posts: 15
Registered: ‎03-25-2012
My Device: Q10, PlayBook
My Carrier: Bell

StageWebView Focus

When creating a StageWebView (to load a banner), the keyboard focus is automatically switched to the stagewebview instead of the controls of my app. I do not want this to occur and I am not sure how to force focus back into the app.

 

I have tried listening to when the webview finishes loading and setting stage.focus = inputText; (a textfield in the app) but this did not work.

 

Has anyone had experience with this or know a way I can regain focus in the app?