0 Replies Latest reply on Mar 22, 2007 12:30 PM by rhnkyr

    A problem about state

    rhnkyr
      I am trying to do that : Application.application.leftVBox.setCurrentState("loginState"); but every time i receive that error
      ArgumentError: Undefined state 'loginState'.
      at mx.core::UIComponent/::getState()
      at mx.core::UIComponent/::findCommonBaseState()
      at mx.core::UIComponent/::commitCurrentState()
      at mx.core::UIComponent/setCurrentState()
      at dialogs::LoginAndRegister/::doLoginEvent()
      at dialogs::LoginAndRegister/__loginService_result()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
      at mx.rpc::Responder/result()
      at mx.rpc::AsyncRequest/acknowledge()
      at ::DirectHTTPMessageResponder/completeHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/flash.net:URLLoader::onComplete()

      why. by the way i have already created my state. And i am trying to reach from a popup(titlewindow). what can i do for solution?