Hello. I am working on an app that users can login from desktop on a wiki site basted on mediawiki. And i need som help with the login. I think it work, but how do i go on when the login is ok and how do it go to a other mxml windows with a label like say Welcome: Username. Or something who can show that the users have be loged in. Hope you get it (sorry for bad english)
Attach Code <mx:HTTPService id="loginSvc" url="http://{swURL.text}.domain/index.php?title=Special:Userlogin&action=submitlogin" method="POST" fault="Alert.show(event.fault.toString())" showBusyCursor="true" > <mx:request xmlns=""> <wpName> {username.text} </wpName> <wpPassword> {password.text} </wpPassword> </mx:request> </mx:HTTPService> <mx:Form x="125" y="177" width="351" height="152"> <mx:FormItem label="Country code" direction="horizontal" color="#FFFFFF"> <mx:TextInput id="swURL" text="" color="#000000"/> </mx:FormItem> <mx:FormItem label="Username" color="#FFFFFF"> <mx:TextInput id="username" text="" color="#000000"/> </mx:FormItem> <mx:FormItem label="Password" color="#FFFFFF"> <mx:TextInput id="password" displayAsPassword="true" text="" color="#000000"/> </mx:FormItem> <mx:Button label="Log in" click="loginSvc.send()" color="#FFFFFF"/> </mx:Form> I now that Mediawiki has api to use? The api: http://www.mediawiki.org/w/api.php

