O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Flash Mobile

Book Description

Build rich media applications for the iOS and Android platforms with this primer to Flash mobile development. You get all of the essentials-from setting up your development environment to publishing your apps to the Google Market Place/Apple iTunes App Store.

Develop elementary applications without coding; then realize the power of ActionScript 3 to add rich complexity to your applications. Step-by-step instruction is combined with practical tutorial lessons to deliver a working understanding of the development stages including:

*Rapid prototyping *Adding interactivity, audio, and video *Employing iOS and Android Interface Calls *Hardware optimization with AIR *Game development; game engines, controlling physics, and 3D *Designing for iPad, Android tablets, and Google TV *Code optimization, testing, and debugging

User interfaces are presented in full color to illustrate their nuances. The companion website, www.visualizetheweb/flashmobile, includes all of the AS3 code, project files, and a blog to keep you up to date with related news and developments.

Table of Contents

  1. Cover
  2. Halftitle
  3. Title
  4. Copyright
  5. Dedication
  6. Contents
  7. Author’s Note
  8. Foreword
  9. Section 1
    1. Setting up Flash CS5 for Android Development
      1. Designing and Developing for Android Hardware
      2. Configuring the Android SDK Publish Setting
      3. Setting up Flash CS5 for Android Development
      4. Installing Your AIR Application onto an Android OS
      5. Building Your First Application for Android Using Flash CS5
    2. Project 1: Creating Your First App Using Flash CS5
      1. Setting up Your Development Environment
      2. Creating the Graphics
      3. Building an Application
      4. Running Your App on Your Android Phone
  10. Section 2
    1. Rapid Android Development in Flash CS5
      1. Creating Content for Your Android Phone That Does Not Require Programming
      2. Animation Techniques You Should Use on Mobile Devices
      3. Controlling Sound
      4. Controlling Video
      5. Working in the Third Dimension
      6. What You Have Learned
    2. Project 2: Optimizing Animation, Audio, Video, and Component Use in Your AIR for Android Apps
      1. Your Building Blocks
      2. Importing Files into Flash
      3. Adding Animation
      4. Adding Audio
      5. Adding Video
      6. Testing on Your Android Phone
  11. Section 3
    1. Developing Mobile Apps using ActionScript
      1. Enabling Flash to Execute Solutions Faster with AVM 2.0
      2. What You Can Expect When You Use AS3
      3. Controlling Data
      4. Controlling Text
      5. Drawing with the Shape Class
      6. Using ActionScript to Control Animation, Audio, and Video in Your Android Apps
      7. Extending Flash with Open Source Libraries
      8. Summary
    2. Project 3: Building Sprite’s 123
      1. Setting Up the Project to Run on an iPhone
      2. Setting Up the Timeline
      3. Adding Interaction to Your Number Screens
      4. Completing the Application
  12. Section 4
    1. Leveraging Custom iPhone and Android Interface Calls with ActionScript
      1. Using Gestures in Your Apps
      2. Working with Gestures
      3. Which Way Is Up? Controlling Orientation with the Android Accelerometer
      4. Knowing Where You Are, Using Geolocation
      5. Loading RSS Data into Flash
      6. Adding Permissions to Your Apps
      7. Loading Web Pages into the StageWebView
      8. Controlling the Use of the Microphone
      9. Controlling the Camera
      10. Additional Features on AIR 2.5 for Android
      11. Summary
    2. Project 4: Building a Gesture-Driven Application
      1. Getting Started
      2. Navigating Using the Tap Gesture
      3. Adding a Swipe Gesture to Move from One Screen to the Next
      4. Adding Drag and Drop Gestures
      5. Using Geolocation to Find Where You Are
      6. Summary
  13. Section 5
    1. Building Games with Flash for the Mobile Market
      1. Getting Started with Game Development
      2. Making It Easier to Write Code with Libraries
      3. Using Game Engines
      4. Developing Your Game
    2. Project 5: Building a Mobile Game
      1. Playing Space Rocket
      2. Getting Started
      3. Game Assets and Default Layer Structure
      4. Adding the Code to the Game
      5. Controlling the Missiles
      6. Controlling the Falling Rocks
  14. Section 6
    1. Deploying Mobile Apps with Flash CS5
      1. Deploying Your Apps to Apple’s iTunes
      2. Deploying Your Apps to Google’s Android Market
      3. Building for iPad Devices
      4. Building for Tablets and TV
      5. Adding Advertising to Your Apps
      6. Tracking Your App’s Success
      7. Marketing Your Apps
      8. Summary
    2. Project 6: Publishing Your Apps into the Many Different App Stores
      1. Choosing Where to Sell Your Application
      2. Publishing Android Apps in Your Own Store
      3. Deploying to the Android Market
      4. Running the Gauntlet That Is Apple’s iTunes App Store Submission Process
  15. Index