10-30-2010 07:47 AM
Hello
i am new in Flex so there are some question
Here i built first time sample application in the Flex for BlackBerry Playbook there some problem
There i add the Button in the Screen at that time button are add but i add to the Lable at that time label are not add so help me and there are another question that if any API for Dialog box same as a BlackBerry?
10-30-2010 08:54 AM
Ok, i'll try to answer as closely to your original questions as possible since i'm not quite sure i understand all of them.
First of all, you do not develop a Flex Application for the Playbook at the moment. They have to be pure AS3 Applications since the Flex Framework is not supported yet.
As for your Label on a Button problem, here is an example on how you can do that:
var button:LabelButton = new LabelButton(); button.label = "My Label"; addChild(button);
if i understood your question right about the Dialogs, yes there are Dialog Classes that provide the
default PlayBook GUI. Check out the ASDocs for them here: http://www.blackberry.com/developers/docs/airapi/1
Hope that helps you out a little.
11-01-2010 12:34 AM
Hello
My question is how to add label to screen ?
Here you get the Label Button Example .
11-01-2010 12:37 PM
You can check HelloWorld example which comes with SDK
11-10-2010 09:43 AM
are you not seeing the label because the text color is black and the screen background is black? try changing the color of the text.