Book Image

Flash iOS Apps Cookbook

By : Christopher Caleb
Book Image

Flash iOS Apps Cookbook

By: Christopher Caleb

Overview of this book

The latest version of Flash Professional can directly target iOS, allowing Flash developers to write applications that will run natively on Apple's iPhone, iPad, and iPod touch. What's more, with Apple loosening its restrictions on third-party technologies, apps written in Flash can now be sold and distributed within the App Store.Flash iOS Apps Cookbook provides the recipes required to build native iOS apps using your existing knowledge of the Flash platform. Whether you want to create something new or simply convert an existing Flash project, the relevant steps and techniques will be covered, helping you achieve your goal.Learn how to configure and use Flash Professional for iOS development by writing and deploying a simple app to a device. Implement many iOS-specific features such a multi-touch, the virtual keyboard, camera support, screen orientation and the Retina display. Overcome the limitations of mobile development by mastering hardware acceleration and optimization. Whether you're an enthusiast or professional developer, the Flash iOS Apps Cookbook is your toolkit to creating high-quality content for iPhone, iPad and iPod touch.
Table of Contents (21 chapters)
Flash iOS Apps Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Including icons


Our app looks almost complete. The most obvious omission is the icon artwork, which we will now add.

How to do it...

Icons are added from the AIR for iOS Settings panel.

  1. Move to the AIR for iOS Settings panel and click on the Icons tab.

    From here you can bundle various icons with your app. The icon types are listed at the top of the panel.

  2. From the list, click on icon 29x29. The field directly below the icon list will be relabeled 29x29. To the right of this field is a browse icon. Click on it as shown in the following screenshot. Browse to and select chapter3\resources\icon29.png.

  3. A dialog box will appear containing the following message:

    The icon must be copied to a folder relative to the root content folder so that it can be published. Do you want to proceed?

    Click on OK and a sub-folder named AppIconsForPublish will be created in the same location as your FLA. The icon you selected will be copied to this new location.

  4. Now select icon 57x57 from the list and browse to chapter3...