
Macromedia MAX 2005 - Anaheim, CA What’s New In Flash 8
144
Click OK to close the Device Settings dialog box.
Save the file as cafe_tutorial.fla, or another name of your choosing.
Now that you've selected the test devices and content type, you're ready to start creating the
application. In the next section, you'll create the menu for the application's main screen
.
Creating the Menu for the Main Screen
In this section, you'll create the menu for the application's main screen. The menu consists of two
options: Specials and Reservations. The Specials option takes the user to a screen to view images
and descriptions of specials at the cafe. The Reservations option initiates a phone call to the cafe so
that the user can make reservations.
The menu consists of two standard Flash buttons that define up, over, and down states. The user
gives focus to one of the buttons by pressing the Up or Down Arrow keys on their device. When a
button has focus it displays its over state. The button that has focus generates a button press event
when the user presses the Select key on the device. This default tab navigation provides an easy
way to create a simple user interface for a Flash Lite application.
To create the main screen's menu:
1. In the Timeline window (Window > Timeline), select Frame 1 on the menu layer.
2. To create the menu, open the Library panel (Window > Library), and drag an instance of the
button symbol called Specials to the Stage.