2 Replies Latest reply on May 12, 2008 1:12 PM by ntsiii

    Code can not run code in many line

    Alphonse Mc Clouds
      When I write script for many line it cannot run script in last line I don't know why, for now I can't write scopt longer than 2 or 3 line per function,I set framerate to 25 please help

      example

      private function setUserDetails(event:ResultEvent):void{
      UserNameResult = UserNameVilidator.validate(LoginUserName.text); ---- show result
      if(UserNameResult.type==ValidationResultEvent.VALID){
      mx.core.Application.application.User_Role = "Student" ---- show result
      mx.core.Application.application.User_ID = "s"+LoginUserName.text; ---- show result
      mx.controls.Alert.show("setUserDetails Call"); ---- not show result
      } else {
      mx.core.Application.application.User_Role = "Teacher" ---- show result
      mx.core.Application.application.User_ID = LoginUserName.text; ---- show result
      mx.core.Application.application.User_STAFFID = getUserInfoRequest.lastResult.datas.data.STAFF_ID; ---- not show result
      }
      gotoUserSection(); ---- not show result
      }



      Thanks
      sorry for my poor english