AS3 arrays
AS3 arrays
Out of context: Reply #3
- Started
- Last post
- 8 Responses
- Pupsipu0
would that copy the objects of the array? i don't think so. The same objects will be referenced.
so
array1[0] = new Sprite()
array2 = array1array2[0].x = 50
that would move the same sprite as
array1[0].x = 50