Re: Am I remotely close?
Better yet, how to you check to see if the variable exists or doesn't? So in
the if(e.result,getItemAt(0).username) comes up blank if the user didn't
complete the login successfully, how can I trigger off that?
The getItemAt(0) is throwing an error since if they don't succeed, it doesn't
exist..
I am getting this error:
RangeError: Index '0' specified is out of bounds.
at mx.collections::ListCollectionView/getItemAt()
at main/loginHandler()
at main/___main_Operation1_result()
at flash.events::EventDispatcher/dispatchEventFunctio n()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractOperation/http://www.adobe.com/200 6/flex/mx/internal::dispatchRp
cEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/ flex/mx/internal::resultHandle
r()
at mx.rpc::Responder/result()
at mx.rpc::AsyncRequest/acknowledge()
at NetConnectionMessageResponder/resultHandler()
|