This content has been marked as final. Show 3 replies
I changed it to e.result.getItemAt(0).username and it seems to work file now. How are other people doing it?
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.rpc::AbstractOperation/ http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::resultHandler()
Ok, I feel stupid. Just sitting here on the couch...it dawned on me...
if (e.result.length != 0)