A term is undefined and has no properties
I have this error on this line
// listener
this.addEventListener(Event.ENTER_FRAME, frameHandle, false, 0, true); <--- this is the line that has the error
These are the handles
// listener
private function frameHandle(event:Event):void {
if (isSystemPaused() == false) {
// basic
movingHandle();
actionHandle();
positionHandle();
updateMiniMap();
flyingHandle();
pushHandle();
updateHealthBar();
// attack
unitHitTestHandle();
