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: 166
Registered: ‎03-04-2011
My Device: Playbook

AlertDialog with custom look and feel

Hello.

 

I'm very very new on ActionScript 3 Playbook development.

 

Can I customize qnx.dialog.AlerDialog class? I want to set it a background image or color and change its buttons.

 

Thanks.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: AlertDialog with custom look and feel

Searching for "custom dialog" found this thread.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: AlertDialog with custom look and feel

You cannot customize the dialog package because it is a service, so extending the class does nothing.  Here is an alternative package that renders the dialogs on the client side that has the same look at the QNX dialog and API (plus some features):

 

http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Community-Library-Released-for-cl...