View Full Version : Simple as PI..
ARRAYS
What are they and how can I use em?
(Yes i've read the tutorial and yes i'm a newbie -so i still dont get it.. :()
snapple
10-06-2002, 02:58 PM
Very good array page, tut and example :
http://www.timshaya.com/flash/help/arrays/tutorial.html
-----------
Arrays are useful when you have many pieces of related information that you want to store, this is where you can use the array aboject to help arrange that info. Arrays are containers that hold data, just like variables do, except arrays hold data in a specific sequence - called an index.
In a book i've got (R.Chun, visual guide), it likens an array to a, two column table with an index column and a corresponding value column. The index begins at 0, is numbered sequentially so that each peice of data corresponds to an index.
Because all the info is orderd numerically, it means that it can be retrieved and modified automatically, by just referencing the index number.
Regards, snapple :)
I've read the tutey and now understand arrays a lil bit better. I'd recomend that tutorial (see above) to those who have also had trouble with understanding arrays.. especially peeps like me. :)
Thanks again
cobra302
10-07-2002, 09:26 PM
Do they got multiple arrays in Flash? I havn't checked yet but cannot wait to get started.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.