i have got problem index of arrays;
i declare 2 arrays:
var array1:array=["a", "b", "c"]; var array2:array=["d", "e", "f"];
we have 2 arrays, goal: need choice of array element a, index opened or eliminated, corresponding array element index a, item d. if choise b->e , e.t.c, have made task loops can't... new in actionscript
trace (array2[array1.indexof("a")]);
will trace out "d". after? sounds you're looking discover array.indexof() function.
Comments
Post a Comment