I always use this, we have two main ways to add an event listener:
quick and dirty (inline function)
.addEventListener(MouseEvent.MOUSE_DOWN, function(event:Event):void { *code here* });
or the proper way:
.addEventListener(MouseEvent.MOUSE_DOWN, btnSaveManageFunction, false, 0, true);
No comments:
Post a Comment