Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now we'll talk about building and testing an application that's made for a mobile device. If you're following along I'm working in 05_Testing, in the Chapter 11 folder, in the Exercise Files folder. Now on the Stage I have a prebuilt animation. Now I've made a prebuilt animation for this file because you can actually use just about any kind of animation when you're developing for a mobile device. I'm going to double click the movie clip on the Stage and enter its Timeline. We can preview the robots moving forward.
This is a pretty simple animation. Each one of these robots is a movie clip with embedded animation. So essentially you can create any animated content for a mobile device. Now, if you want to develop an interactive application using ActionScript Flash mobile devices, particularly Flash Lite 2.1 content is very close to Flash Player 7, which means it supports a language called ActionScript 2.0. Now, if you're not familiar with the ActionScript 2.0 it's actually a little bit different than ActionScript 3.0.
There are actually plenty of lynda.com titles that teach ActionScript 2.0. So once you've created your Flash Lite content, you can test it on a phone in the same way that you test a movie in Flash. I'm going to press Cmd+Return on the Mac or Ctrl+Enter on the PC to test the movie and preview the application. Notice that Device Central opens, and you can preview your application in a phone. If the phone that you're seeing in Device Central is not your phone or the phone that you're developing for, you can select the phone in the list of Available Devices. When you double-click the phone, then you'll see the phone appear in the main visible area. At the bottom of the screen in Device Central you can pause and rewind the playback of your Flash movie.
In the Display area, on the right side of the screen you have the option to control the Backlight amount, the Timeout amount for the Backlight, different Reflections like Indoor, Outdoor or Sunshine, the Gamma amount and Contrast. Now, if you're designing for Windows Mobile 5.0 phone that SWF file is actually going to go on your phone. When you test the movie with Device Central Flash creates a SWF file.
That SWF file is the exact same file that you're going to put on your phone and view if you're working with a Windows Mobile 5.0 phone and the Flash Lite 2.1 standalone player. Other devices work a little bit differently and you may have to go to the Adobe website or search online to find out how to get Flash content on your particular phone. But there's a look at how to develop and test Flash mobile content.
Get unlimited access to all courses for just $25/month.Become a member
58 Video lessons · 65484 Viewers
61 Video lessons · 96277 Viewers
56 Video lessons · 110050 Viewers
82 Video lessons · 105053 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.