Flash Essential

AS3 Guide Language Essentials

Jul 29th 2008
7 Comments
respond
trackback

Show Navigation || Hide Navigation

Below are some language basics I want you to take note of, pretty straight forward stuff but essential none the less.

Semi-Colon (;)
You'll notice the use of the semi-colon in this language. The use of the semi-colon indicates the end of a line, although not essential in this language it makes for good practice as it's required in other language.

Execution Order

Most of the time Actionscript executes from top to bottom, left to right but their occasions when this differs, but for now I want you to keep this particular execution order in mind. I'll explain when it differs later on in the guide.

Trace Statement

The trace statement is a way getting feedback from your script, its often used to test if a particular part of code is working correctly. The statement places text into the output panel in the flash interface which has no use at runtime.

Example trace("my xml is working")


This post is tagged ,



Sponsors

Explore Recent





Monthly Archives



Friends and Affiliates



7 Comments

Leave a Reply