Search Array Function to return index of matching item in Flash ActionScript
Coming from PHP background, or from any other language, one really misses the basic functions which are not available yet in AS3. Flash AS3 has dearth of functions and Array functions are no exception. This Flash AS3 function will search the provided array and, if found, returns the index of matching item, otherwise returns 0…