Add an icon to your Adobe ActionScript project
Before you begin: Create an image in PNG format with a maximum resolution of 114 x 114 pixels.
- In Adobe Flash Builder, in the Package Explorer pane, in your project tree, right-click the src folder.
- Click Import.
- Expand
General, and select File System.
- Click Next.
- Beside the From directory field, click Browse.
- Find the folder that contains your image.
- Click OK.
- Select
the check box beside your image.
- Click Finish.
After you finish: You must update the bar-descriptor.xml file to notify the BlackBerry 10 SDK for Adobe AIR that the image is the icon for your application.
- In Adobe Flash Builder, in the Package explorer view, in the src folder for your project, double-click the bar-descriptor.xml file.
- In the
text editor pane for bar-descriptor.xml,
update the value of the image element to use your icon. Between the image elements, replace your_image.png with the name of your image file.
<icon><image>your_image.png</image></icon>
- On the File menu, click Save.