I am trying to execute this :
stage.addEventListener(MouseEvent.MOUSE_MOVE, ABC);
stage.addEventListener(MouseEvent.MOUSE_MOVE, XYZ);
function ABC (e:Event):void {
graphics.lineTo(e.localX,e.localY);
}
function XYZ (f:Event):void {
graphics.lineTo(f.localX,f.localY );
}
When I execute this it shows the error :
1119: Access of possibly undefined property localX through a reference with static type flash.events:Event.