
Macromedia MAX 2005 - Anaheim, CA What’s New In Flash 8
151
With the text field selected on the Stage, make the following changes in the Property inspector:
o Select Dynamic Text from the Text Type pop-up menu.
o Select Multiline from the Line Type pop-up menu.
o Select Verdana from the Font pop-up menu.
o Set the font size to 10.
o Select Bitmap (no anti-alias) from the Font Rendering Method pop-up menu.
o Type description in the Var text box.
In the Timeline, select the keyframe on Frame 10 on the Actions layer.
Open the Actions panel and add the following code:
title = "Summer salad";
description = "Butter lettuce with apples, blood
orange segments, gorgonzola, and raspberry
vinaigrette.";
fscommand2("SetSoftKeys", "Home", "Next");
stop();
This code displays the name and description of the special that the user is currently viewing, and
stops the playhead. The SetSoftKeys command registers the device's soft keys that will let
the user return to the home screen, as well as navigate between specials.
On the Actions layer, select the keyframe on Frame 20 and enter the following code in the
Actions panel:
title = "Chinese Noodle Salad";
description = "Rice noodles with garlic sauce,
shitake mushrooms, scallions, and bok choy.";
stop();