November, 2009

Nov
11

Array Constructors in AS3 Paul

Actionscript, Flash

Arrays in as3 are unique among the other built in types because their constructor behaves differently depending on the number and type of arguments passed in. Passing in multiple arguments allows you to initialize the array with the supplied values. However, passing in a single integer value to the constructor specifies the number of elements…