creationComplete="init()" xmlns:mx="library://ns.adobe.com/flex/mx">
protected function so_resultHandler(event:ResultEvent):void
{
Alert.show("调用成功了remoting");
// TODO Auto-generated method stub
ti1.text=event.result.toString();
}
protected function so_faultHandler(event:FaultEvent):void
{
// TODO Auto-generated method stub
Alert.show("调用失败了remoting");
}
protected function text_faultHandler(event:FaultEvent):void
{
// TODO Auto-generated method stub
Alert.show("调用失败了text");
}
protected function text_resultHandler(event:ResultEvent):void
{
// TODO Auto-generated method stub
Alert.show("调用成功了remoting");
text.insert(username,password,age);
}
public function submit():void
{
text.insert(username.text,password.text,age.text);
}
]]>
windows live
TM
Hotmail(0)
Messenger
Office
Photos
sign out
profile
Msn