It’s been a while since my last post, so I decided to quickly drop by and leave a little present. This is my ArrayTool utility with no less than two methods! (oh happy day)

Go check it out right here:

Again, no demo since the usage of this class can pretty much be anything really.

As I said, this isn’t exactly one of my most filled classes, but the two methods inside kind of compensate for that.
adjustValues() lets you increase/decrease/multiply/divide all values of an Array all at once.
getValueMatchIndex() gives you the index of an Array-item where a certain property has a certain value (also works for nested properties).

Leave me a comment if anything is unclear..

8 thoughts on “ArrayTool

  1. Pingback: Comunicación en GAIA FrameWork | NoxDies

  2. Pingback: Functional ActionScript – Part I — RTFM / Daniel Gasienica

Comments are closed.