Home > Articles > Web Development > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

Creating and Publishing an iPhone App

With all of these tasks completed you are now ready to complete your first iPhone App. Sometimes it seems like a world full of red tape where you need to dot your i’s and cross your t’s, but you do get to the point where you can develop applications for your iPhone using Flash CS5 (New!). You need to go through the steps of creating a Developer Certificate, registering your test iPhone, creating an App ID, and downloading a developers profile in order to develop for any iPhone development tool; this is not just a unique Flash CS5 feature. Flash CS5, however, does allow you to very easily create the final iPhone App.

Create and Publish an iPhone App

  • orange-circle-1.jpg In Flash, click the File menu, click New, click iPhone OS, and then click OK.

    A new movie opens with the size 320x480 pixels.

  • orange-circle-2.jpg Create an iPhone App using Flash tools.
  • orange-circle-3.jpg Open the Properties panel.
  • orange-circle-4.jpg Click the iPhone Settings Edit button.

    The iPhone Settings dialog box opens, displaying three tabs: General, Deployment and Icons.

  • orange-circle-5.jpg Click the General Tab.
  • orange-circle-6.jpg Enter an Output file name, such as wordsearch.ipa.
  • orange-circle-7.jpg Enter the App Name that you want to appear on the iPhone, such as Word Search. You are limited to 11 characters.
  • orange-circle-8.jpg Enter an version number for the App, such as 1.0.
  • orange-circle-9.jpg Click the Aspect Ratio list arrow, and then select a display option: Portrait or Landscape view.
  • orange-circle-10.jpg Select or deselect any of the following options:
    • Full Screen. Select to force your App to take up all of the screen space on your phone; deselect to show information at the top of your iPhone, including carrier signal, WiFi connection, time and battery life, will be visible in your App.

    • Auto Orientation. Select to change the orientation of your App as the iPhone is rotated.

  • orange-circle-11.jpg Click the Rendering list arrow, and then click an acceleration option, Auto, CPU, or GPU.
  • orange-circle-12.jpg Click the Add button (+) in Included Files, and then select the Default.png file. The Default.png file displays when your App starts to run and disappears when your App has loaded.
  • orange-circle-13.jpg Click the Deployment tab.
  • orange-circle-14.jpg Click Browse, and then select your Developer P12 certificate file, and then enter your password.
  • orange-circle-15.jpg Click Browse, and then select the developer Provisioning Profile you downloaded.
  • orange-circle-16.jpg Enter the full name of the App ID you created in the iPhone Developer Center.
  • orange-circle-17.jpg Select the Quick Publishing For Device Testing option.
  • orange-circle-18.jpg Click the Icons tab.
  • orange-circle-19.jpg Locate and add the 29.png, 57.png and 512.png file.
  • orange-circle-20.jpg Click Publish.

    Flash launches the iPhone Packager tool and generates (6-10 minutes) an IPA iPhone App file in the same folder as your Flash files.

  • orange-circle-21.jpg Locate the IPA file, and then drag the file onto iTunes and sync your device. When the sync completes you will be able to launch your App from your iPhone.
  • + Share This
  • 🔖 Save To Your Account