RSS
email

ActionScript Basics part4



In this tutorial we are going to explore Array which is available in most of the programming languages.

What is an Array?
Array is used to hold collection of data or list of values of same datatype.
Array has many buitin functions to manipulate the values it holds.
An array data can be accessed at anytime using array index.
Creating an Array
To create an array, declare a variable of type Array and declare the new Array object.

Learn ActionScript Basics tutorial

var arrObject:Array = new Array();
There is another way of of creating an array using square brackets that called array literal.

var arrObject:Array = [];

Read More..

Bookmark and Share

0 comments:

 

Recent Posts

Recent Visitors

Donate Me

About Me

My photo
Chennai, Tamil nadu, India
Nothing more to say about me.. Just a Action Script programmer / Flex developer having 4.5 years of experience.