Language Basics - Part 2

Fundamental Data Types

String: for storing text
Numeric: ActionScript 3.0 provides three specific data types for numeric data:
  • Number: any numeric value, including values with or without a fraction
  • int: an integer (a whole number without a fraction)
  • uint: an "unsigned" integer, meaning a whole number that can't be negative
Boolean: a true-or-false value, such as whether a switch is on or whether two values are equal.

Class

In ActionScript object-oriented programming, a class contains three types of characteristics:
  • Properties - encloses data within a class
  • Methods - encloses action that can be performed by the class intanses.
  • Events - helps the class intanses to listen and respond to certain user actions or happenings

Comments

Popular posts from this blog

What is Adobe Flash ?

Prototype based programming