Question
How would one go about searching an array for a combination of items?
I need to know how to search an array of numbers in Actionscript for a combination of numbers that equals a target number specified by the user. The combination could be any number of numbers. It could be two numbers, or three, or four, or more. The number of numbers in the array can vary. The user will manually populate the array. How could I do this? Any help is greatly appreciated.