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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Regular Contributor
Posts: 58
Registered: ‎12-26-2010
My Device: Torch 9800
My Carrier: Rogers

Flash Games and keyboard

Hello everybody,


I am new to the Playbook sdk and have a quick question about flash game development.


I have created a flash game for the computer and wanted to use it on the blackberry playbook. I have the swf file already, and it is in the resolution of the playbook. My question is, how would I implement the keyboard to be available on screen at all times in my app, so that you can use keys like wsad, jkl. could I just bring up the keyboard with a class? or would I have to make custom buttons (arrow keys for instance) that would be the equivalent to the keyboard keys( -> = d for example)


Thank you for your time!



Tayshun A.

Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: Flash Games and keyboard

hey tayshun12,


at the current moment the only way to bring up the keyboard is if the user manually clicks and focuses on an text input object. even if you could pop up the keyboard it would take a lot of room on the screen and would give you very little space to play any sort of game. i definitely recommend you creating you own "keys" on screen and allowing the user to use those instead of hte actual keyboard. hope that helps. good luck!

J. Rab (Blog) (Twitter)
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Flash Games and keyboard

You could also add in gestures instead of buttons and keys, depending on the type of game.  Also, you have the accelerometer that can be used to tilt left/right/up/down and/or combination of each.

Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Flash Games and keyboard

Creating custom onscreen buttons is a far better solution then having the keyboard take up half the screen at all times.

Read my thoughts on BlackBerry Development at news.ebscer.com