Chapter 5. Arrays and Objects

[ LiB ]

Chapter 5. Arrays and Objects

You already have a chunk of the ActionScript basics down. This chapter will round out your all-around skills by showing you how to create, set up, and access arrays and objects. They are the very core of what is called object-oriented programming , or OOP. This is a concept used in programming to reference parts of the code such as an object, which is a collection of variables and functions that act on those variables . You've already seen a builtin example of an object, the Movie Clip.

In this chapter, you will learn the following:

  • What arrays are

  • How to reference arrays

  • How to create and initialize arrays

  • What ActionScript objects are

  • How to create and initialize objects

  • How to use objects

[ LiB ]


Game Development with ActionScript
Game Development with ActionScript
ISBN: 1592001106
EAN: 2147483647
Year: 2004
Pages: 162
Authors: Lewis Moronta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net