Game Development Reference
There are several ways to put elements into arrays. In the previous example, three elements were
added to the array when it was initialized. You'll usually start with an empty array and add elements
to it as you need to.
One way to put elements into an array is to assign elements directly to a position in the array's index:
So whenever your code sees [_khha_pekjF]nW.Y it returns the value of bhu.
Let's look at a slightly more concrete example. The chapter source files include a folder called =nn]u
>]oe_, which contains an FLA file called ]nn]u>]oe_*bh]. Open it is as a project and have a look at the
If you test this, the pn]_a displays this: