AS3: using button script functions
AS3: using button script functions
Out of context: Reply #3
- Started
- Last post
- 10 Responses
- Aa770
you are running the 'reduce' function as if it was triggered by an event.
Instead, you want to pass a reference to the image_array[i] value inside the parenthesis instead...so line 27 should be more like this:
function reduce(reference:Object):void {