Text Field Example Application (Flash Professional Only) - MACROMEDIA FLASH 8-DEVELOPING FLASH LITE Develop Manual

Developing flash lite applications
Hide thumbs Also See for FLASH 8-DEVELOPING FLASH LITE:
Table of Contents

Advertisement

Text field example application (Flash
Professional Only)
This section describes how to create a simple application that uses static, dynamic, and input
text fields. The application asks the user (using text in a static text field) to provide their name
(using an input text field). After they enter their name and select a button, the application
shows a message (using a dynamic text field) addressed to the user.
You can find a completed sample file for this section, textfield_example.fla, in the Samples
folder on your hard disk.
In Windows, browse to boot drive\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\FlashLite.
On the Macintosh, browse to Macintosh HD/Applications/Macromedia Flash 8/Samples
and Tutorials/Samples/FlashLite.
To create a text field example application:
1.
In Flash, create a new document from the Flash Lite 1-1 - Symbian Series 60
device template.
For more information about creating documents from device templates, see "Using Flash
Lite document templates (Flash Professional Only)" in Getting Started with Flash Lite.
2.
In the Timeline (Window > Timeline), select the first frame of the layer named
ActionScript.
3.
Open the Actions panel (Window > Actions).
stop();
4.
Type
in the Actions panel to stop the playhead on that frame.
5.
Select the Text tool in the Tools panel to create a text field on the Stage that contains the
text "Your name:".
6.
With the new text field selected, in the Property inspector, select Use Device Fonts from
the Font Rendering Method pop-up menu.
7.
Create a new text field below the first one and, in the Property inspector, select Input Text
from the text type pop-up menu, select Use Device Fonts from the Font Rendering
Method pop-up menu, type nameVar in the Var text box, and select the Show Border
Around Text option.
42
Working with Text and Fonts

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-DEVELOPING FLASH LITE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents