![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
As you learned earlier in this lesson, ActionScript depends on correct syntax to execute properly. Flash offers a variety of ways for you to test your syntax.
If the syntax is correct, a message appears stating that the script contains no errors.
If the syntax is incorrect, a message appears stating the script contains errors; the Output panel opens and displays information about the error.
When the SWF file appears, the animation should not appear in the Global Positioning System screen, because its initial visible
property is set to false
. When you click and release the top green button, you call the function that sets the movie clip's visible
property to true
. Does the animation play then? Finally, click the red Off button to see if the visible
property for the animation is again false
.
You can test your SWF content throughout authoring to confirm that it plays as expected.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |