10-30-2010 07:47 AM
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.