MACROMEDIA FLASH 8-DEVELOPING FLASH LITE Develop Manual page 43

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

Advertisement

8.
Select Window > Common Libraries > Buttons to open a library of prebuilt
button symbols.
9.
In the Buttons library, double-click the Circle Buttons folder to open it.
10.
Drag an instance of the symbol named "circle button - next" to the Stage.
11.
Using the Text tool create another text field at the bottom of the Stage.
This text field will display a message that contains the name the user enters in the input
text field.
12.
With the new text field selected, in the Property inspector, type message in the Var text
box, select Dynamic from the Text Type pop-up menu, and select Use Device Fonts from
the Font Rendering Method pop-up menu.
The Stage in your application should look similar to the following image:
13.
Select the button on the Stage, and open the Actions panel (Window > Actions).
14.
Enter the following code in the Actions panel:
on(press) {
message = "Hello, " add nameVar;
}
Static text field
Input text field (
nameVar
Button
Dynamic text field (
message
Text field example application (Flash Professional Only)
)
)
43

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