var callback = null;
addEventListener(Event.MouseDown, callback = function(e:Event){blabla....});
Can I assign arguments when calling a function?
var callback = null;
addEventListener(Event.MouseDown, callback = function(e:Event){blabla....});
Can I assign arguments when calling a function?
Of course. Try it this way instead.
var callback = function(e:Event, arg1, arg2) { blabla....};
addEventListener(Event.MouseDown, function(e) { callback(e, 0, 1); } );
Or If I misunderstood your question, perhaps this way:
var callback = null;
addEventListener(Event.MouseDown,
callback = function(e:Event) { anotherfunction(arg1, arg2); });