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.
02-04-2011 01:35 PM
I am new to Flash builder and I have read the tutorial on creating playbook app using Flash builder.
In the tutorial, I see that we are using action script instead of mxml. I tried to add a button using action script but nothing shows in the simulator (I only see a white screen). It is because the mxml file under the views folder is taking control?
If I am using action script file, do I need to delete the Home.mxml that is under the views folder?
02-04-2011 01:47 PM
In posts like this, it is best to post code or sample code to illustrate the issue. The majority of time, your issue can be quickly resolved if others can see the code.
Couple of questions:
In a pure AS project, your root item would be an .as file too and not an MXML file. When creating the project with the wizard, the last panel will show the default/root class name. In your case, that was probably "Home.mxml". Simply rename that to "Home.as" and everything gets created properly. If you already have a project, it is easier to delete it and create a new project. Be certain to give your project a unique (reverse DNS) id (e.g. com.mydomain.home). You can alwasy change it later, but you may as well do it here.
Hope that helps.
02-04-2011 10:41 PM
I put the following code in my .as file and leave the Home.mxml file unchanged. I am using Burrito.
02-04-2011 11:18 PM - edited 02-04-2011 11:26 PM
I believe you want to be working with just ActionScript which means that you shouldn't have any MXML files in your project. What you can use a MXML file for though is to easily design the appearance of your application. Flash Builder provides a WYSIWYG editor for MXML.
EDIT: @jtegen how do you edit the reverse DNS name without creating a new project? (Flash Builder Burrito)
02-05-2011 02:58 AM
@noah: In ur project list look for your -app.xml descriptor file. open that up and look for the ID tag. you can change that to anything you want.