40
Chapter 4: Create an Application
Test your application
You’ll test your application to ensure that it executes as expected.
1.
Save your document and select Control > Test Movie.
2.
In the test version of your movie that appears in Flash Player, type numbers in the QTY fields
to see what appears in the Price fields.
3.
Click the Calculate button to see the total price for all parts.
Summary
Congratulations on learning how to create an application. In a few minutes, you learned how to
complete the following tasks:
•
Copy input and dynamic text fields
•
Assign instance names to text fields
•
Add a Button component
•
Declare variables and values
•
Specify values for text fields
•
Write a function
•
Write an event handler for the component
To learn more about ActionScript, take a lesson in the Basic ActionScript series on the How Do I
tab of the Help panel.
Summary of Contents for FLASH MX 2004-LEARNING FLASH
Page 1: ...Learning Flash...
Page 8: ...8 Contents...
Page 34: ...34 Chapter 3 Write Scripts with ActionScript...
Page 54: ...54 Chapter 6 Create a User Interface with Layout Tools...
Page 62: ...62 Chapter 7 Draw in Flash...
Page 68: ...68 Chapter 8 Create Symbols and Instances...
Page 76: ...76 Chapter 9 Add Animation and Navigation to Buttons...
Page 104: ...104 Chapter 13 Add Interactivity with ActionScript...
Page 112: ...112 Chapter 14 Create a Form with Conditional Logic and Send Data...
Page 122: ...122 Chapter 15 Work with Objects and Classes Using ActionScript 2 0...