1 Reply Latest reply: Jan 1, 2012 8:24 AM by kglad RSS

    unable to run next statement in constructor main function

    cactus8599 Community Member

      Hi,

       

      I have a main.as scipt whereby i put the following in the constructor main function.

       

      L1: LoginScreen.enterBtn.addEventListener(MouseEvent.MOUSE_DOWN, checkLogin);

      L2: map.visible=true;

       

      it will execute checkLogin function but stuck at Line 1. how do i make it run Line 2?