hi,
you did not pass the container parameter in you Fla when adding the class object.
you also forgot to add the parenthesis in this line...
var imageLoader:MovieClipLoader = new MovieClipLoader();
Lastly because the MovieClipLoader passes a parameter anyway (e.g. the target), the extra parameters you add with the delegate function will be appended.
e.g.
will need to become...Code:private function output(answer:Number) { trace("ANSWER "+answer +" "+t) }
so it's better not to use this method to assign the same function to a MovieClipLoader and a MovieClip.Code:private function output(target:MovieClip, answer:Number) { trace("ANSWER "+answer) }




Reply With Quote