Tutorial 2 – the Arrays
Greetings to all!
I carry on the serials of tutorials to learn the basic of Actionscript 3.0.
After having seen what are variables and how to use them, let us get into the world of the Arrays.
Before starting, I would like to specify that the Arrays can be extremely complex and have various methods and techniques on how to implement and manage them.
If we wanted to explain the Arrays of Actionscript 3.0 in details, 30 pages of tutorial would not be enough and it would only create confusion to the persons (mainly starting with Actionscript) who read this tutorial.
In this tutorial, we will keep to the basics. The Array will be of a single dimension with a few hints of the bi-dimensional Array.
We will see how to declare an Array and how to populate (fill it) it.
If you remember, I asked to those of you who are starting learning Actionscript, to think of a variable as a containing box; a box with a name and containing a value which can be retrieved calling the name itself.
An array is an even bigger box…







{ 0 comments… add one now }