I am having trouble getting the forEach method to work in a class where I am extending an array. I keep getting this error:
ReferenceError: Error #1069: Property 0 not found on com.infinity.effects.Parallel and there is no default value.
at Array$/Array::_forEach()
at Array/http://adobe.com/AS3/2006/builtin::forEach()
at com.infinity.effects::Parallel/start()
at Untitled_fla::MainTimeline/Untitled_fla::frame1()
Here is my callback method:
private function setup(item:*, index:int, array:Array):void {
trace(item+', '+index+', '+array)
}