Language Basics - Part 1
This blog will help you getting started with ActionScript programming. Below are the Actionscript programming fundamentals:
Statement
In ActionScript, each statement is written with a semicolon at the end.Variable
Consists of following parts:- The variable's name
- The type of data that can be stored in the variable
- The actual value stored in the computer's memory
var variable:Number = 17;
Constant
Is a kind of variable which can only be assigned a value one time in the course of an ActionScript application.const TAX_RATE:Number = 0.12;
Once a constant's value is assigned, it is the same throughout the ActionScript application.
Comments
Post a Comment