This content has been marked as final. Show 4 replies
Has the result made it to your "authenticateHandler(event:ResultEvent):void" function?
Exactly the correct question.
thanks for the replies,
yeah my listener is being broadcast to now, only issues i'm having now is with the formatting of the passed event.
heres my listener
private function authenticateHandler(event:ResultEvent):void
and the php that was called printed out somethinig like this
but i can't seem to access any of the data in the result event. all i get is either null, or the old [object Object].
I was thinking the event.result.users should be an array i could reference lik event.result.users.user.username but Flex really didn't like that
I advise setting the resultFormat="e4x". I believe the default is "object".
Then in the handler do:
var xmlResult:XML = XML(event.result);
You should see your xml.
The e4x XML object is very powerful, with XPath-like selection expressions that return an XMLList, which has properties similar to arrays.