actionscript 3 array question

Posted by Naro on Stack Overflow See other posts from Stack Overflow or by Naro
Published on 2010-03-30T06:18:01Z Indexed on 2010/03/30 6:23 UTC
Read the original article Hit count: 239

Filed under:
var arr1:Array = new Array();
arr1.push(item1);
arr1.push(item2);
arr1.push(item3);

then arr1 and its elements get passed to other functions is there a way to know the index of an item in the array?

GetParentArrayIndex(item2) would give me 1;

© Stack Overflow or respective owner

Related posts about actionscript-3