Hi I have a source array with simple Point instances in them (just an object with x and y properties). I want to have a resulting array with the cumulative result of calling Point.add() to each of the instances. (e.g. the resulting point object is a result of adding the current point to the total of the points before it in the source array.) is this possible to dynamically do this? I keep crashing Flash with what I’m doing! I know it has something to do with recursion but dont know where to start.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Adding previous value with current one in array
|
0 | 106 | March 4, 2010 | |
| Adding values of an array | 0 | 85 | August 13, 2008 | |
| Adding numbers inside an array | 0 | 82 | December 2, 2005 | |
|
Sum of Numbers Array?!
|
0 | 58 | May 17, 2007 | |
| [FMX AS] Help needed 2 assign points 2 objects, and calculator 2 add up diff. scores | 0 | 78 | May 9, 2005 |