Flash Question
Flash Question
Out of context: Reply #7
- Started
- Last post
- 10 Responses
- enjine0
damn again...
at any rate, within the for loop just make a temporary variable then push it into the array
var tempObj = new Dave();
arr.push(tempObj)or instead of using the push method, just use the iterator and brackets: arr[i] = tempObj