ActionScript has rules of grammar and punctuation that determine which characters and words are used to create meaning and in which order they can be written. For example, in English, a period ends a sentence. In ActionScript, a semicolon ends a statement.
The following general rules apply to all ActionScript. Most ActionScript terms also have their own individual requirements; for the rules for a specific term, see ActionScript Dictionary.