• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Hour 12. Objects and Arrays

Until now, all variable data has been stored individually, one bit of data per variable. This works fine for most simple applications, but you soon end up with a lot of variables. You can also find yourself faced with difficult situations where you need to store a lot of data, and single variables are just not able to do it easily.

ActionScript can use two methods to store a lot of data. The first method we will look at is custom objects. You can use these to group pieces of data together. The second method is arrays, which is a fundamental part of any advanced programming language.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint