hi … i need to attach an event listener, and have its handler have a variable passed into it …
this possible?
mc.addEventListener(Mouse.Event.ROLL_OVER, over(obj) );
function(e:MouseEvent,obj:Object):void{
e.removeEventListener(....);
trace(obj);
}
… sommint like that … as3 says function is static, missing argument etc … there may be other ways about it - but it is crucial to my setup, as when the EL is added, the object passed is only obtainable at that point.
yesno’s?:cowboy: