Beginning Flash, Flex, and AIR Development for Mobile Devices [NOOK Book]

Overview

Easily create cross-platform, native applications for mobile devices using Flash

Adobe Flash allows you to develop the rich, creative, interactive media experiences for the web. This easy-to-follow guide covers everything you need to know to create rich mobile applications using Flash. Packed with examples, this book shows you how to build both Web-embedded Flash and packaged AIR application for mobile devices. You?ll discover how Web-based Flash applications are able to run ...

See more details below
Beginning Flash, Flex, and AIR Development for Mobile Devices

Available on NOOK devices and apps  
  • Nook Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$22.79
BN.com price
(Save 43%)$39.99 List Price
Note: This NOOK Book can be purchased in bulk. Please email us for more information.

Overview

Easily create cross-platform, native applications for mobile devices using Flash

Adobe Flash allows you to develop the rich, creative, interactive media experiences for the web. This easy-to-follow guide covers everything you need to know to create rich mobile applications using Flash. Packed with examples, this book shows you how to build both Web-embedded Flash and packaged AIR application for mobile devices. You?ll discover how Web-based Flash applications are able to run across multiple platforms, ranging from mobile devices to televisions to PCs. Plus, hands-on instructions detail how to leverage the unique hardware and software features that are available to each various device and platform.

  • Serves an ideal starting point for learning to create rich, interactive applications for mobile devices
  • Includes hands-on examples that demonstrate how to best use the variety of hardware and software features
  • Escorts you through mobile app concept to completion with sample code and step-by-step instructions
  • Discusses such topics as building AIR applications for Android, BlackBerry, and Symbian devices; enabling multitouch; developing for multiple screen sizes; maintaining app data; and much more

Start building Flash apps for mobile devices today with Beginning Flash Development for Mobile Devices.

Read More Show Less

Product Details

  • ISBN-13: 9781118193358
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 10/13/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 304
  • File size: 21 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Jermaine G. Anderson works within the Software Engineering department of BSkyB in London, where he manages an agile team responsible for short-form media and the online video platform.

Read More Show Less

Table of Contents

INTRODUCTION xxi

CHAPTER 1: AN INTRODUCTION TO FLASH, FLEX, AND AIR 1

Adobe Flash 1

Flash on Mobile Devices 2

ActionScript 3.0 2

ECMAScript 2

Key Concepts 3

The Flex Framework 11

Flex 4.5.1 11

MXML 12

Spark Library Components 14

Data Binding 21

Flex Mobile Application Structure 22

Considerations for Mobile Development 31

Adobe AIR 31

Summary 32

CHAPTER 2: GETTING STARTED 35

Using Flash Builder 4.5.1 35

Working with Workspaces 36

Using the Flash Perspective 37

Using the Flash Debug Perspective 38

Using the Source and Design Views 39

Creating a Mobile Project Using Flash Builder 41

Creating a Hello World App Example 41

Defi ning Run Confi gurations 51

Running Mobile Applications on the Desktop 52

Running Mobile Applications on the Device 55

Summary 64

CHAPTER 3: BUILDING AIR APPLICATIONS FOR ANDROID, BLACKBERRY, AND IOS DEVICES 67

AIR Application Descriptor Files 67

Setting Properties in the AIR Application Descriptor File 68

Manually Editing the Application Descriptor File for the Hello World App 69

BlackBerry Tablet OS Confi guration 79

Packaging for Google Android 82

Packaging for Apple iOS 88

Packaging for BlackBerry Tablet OS 94

Updating AIR Applications 96

Retrieving Details from the Application Descriptor File 97

Using the Version Number 97

Summary 98

CHAPTER 4: TOUCH, MULTITOUCH, AND GESTURES 101

Multitouch Interactions 102

Determining Touch Input Support 102

Creating a Multitouch and Gestures App Example 103

Touch Event Handling 106

Registering Touch Events on Interactive Objects 114

Determining the Supported Touch Points 117

Gesture Interactions 117

Determining Which Gestures Are Supported on a Device 117

Gesture Events and Event Handling 118

Registering Gesture Events on Interactive Objects 119

Handling Gesture Events 124

Utilizing the Multitouch Panel in Device Central 128

Summary 128

CHAPTER 5: DEVELOPING FOR MULTIPLE SCREEN SIZES 131

Considerations for Multiple Screen Sizes 132

Pixel Density 132

Utilizing Device DPI 133

Adapting Content to Stage Size 138

Using the StageScaleMode and StageAlign Classes 138

Handling Stage Resize Events 140

Creating the Sprite Layout App Example 140

Handling Device Orientation 151

Using the StageOrientation Class 152

Using the StageOrientationEvent Class 152

Using Layouts in Flex 154

Aligning Items in Group Containers 155

Summary 174

CHAPTER 6: DEBUGGING APPLICATIONS 177

Setting Breakpoints 177

Global Error Handling 188

Handling Uncaught Errors 188

Try…Catch Statements 191

Stepping through Code 193

Summary 196

CHAPTER 7: WORKING WITH THE FILESYSTEM 199

Reading from the Filesystem 200

The File and FileStream Classes 200

Creating a Files Explorer App Example 203

Modifying Files and Filesystems 216

Creating New Files and Directories 216

Utilizing Browse Dialogs 229

Opening a Single File 230

Opening Multiple Files 230

Saving a Single File to a Location 236

Summary 237

CHAPTER 8: WORKING WITH DATA 239

Detecting Changes in Network Availability 239

Retrieving Data with URLRequest 240

Monitoring the URLRequest Object 240

Creating the Maintaining Data App Example 241

Using SQLite for Storing Data 247

Creating a SQLite Database 248

Summary 286

CHAPTER 9: WORKING WITH AUDIO AND VIDEO 289

Introducing the Open Source Media Framework 289

Creating a URLResource Object 290

Creating a MediaElement Object 291

Media Traits 292

Using the MediaTraitType Class to Identify Traits 293

Using the MediaPlayer to Play Media Elements 294

Using the MediaPlayerSprite Class to Play Media Resources 297

Handling Trait Events 298

Using an AudioEvent Object 298

Using the Flex OSMF Wrapper 300

Using the VideoPlayer Component 300

Creating a MediaPlayer Example 301

Summary 313

CHAPTER 10: UTILIZING DEVICE FEATURES 315

Using the Device's Camera 315

Using the CameraUI Class 316

Creating a Camera App Example 316

Capturing Sound Using the Device's Microphone 323

Using the Microphone Class 323

Using the SampleDataEvent Class 324

Creating a Microphone App Example 326

Utilizing the Device's Web Controller 336

Using the StageWebView Class 336

Creating a Browser App Example 338

Utilizing the Device's Geolocation Sensor 346

Using the Geolocation Class 346

Using the GeolocationEvent Class 347

Creating a Geolocation App Example 348

Summary 355

INDEX 359

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)