12 January 2010

SearchArray AS3 Functions

By far the most downloaded file from this blog is search array functions which have been downloaded more than 2050 times until today. Mattaka noticed in comment how union function is no different from intersection function, but actually function name is wrong - it is functions which returns intersection of two arrays.

I have rewritten all functions into ActionScript3.0 version and added one more. Combine function takes two arrays and returns single resulting array. If two given arrays are a[1,2,3] and b[4,5,6,7,8] resulting array will combine them into c[1,4,2,5,3,6,7,8].




Class comes with usage examples. I'll try to add some new functions soon.

*_*

0 comments:

 

template by blogger templates