Chinaunix首页 | 论坛 | 博客
  • 博客访问: 258836
  • 博文数量: 70
  • 博客积分: 2500
  • 博客等级: 少校
  • 技术积分: 930
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-22 12:32
文章存档

2009年(42)

2008年(28)

我的朋友

分类:

2009-07-25 10:39:31


1、采用URLVariables对象

httpEncoding : return encodeURICompont(params)
httpEncoding2 : return params

srv.url = .....
var params:URLVariables = new URLVariables();
params.user = httpEncoding("userName") ;
params.pass = httpEncoding("password") ;
srv.send(params) ;

 2、采用
 
.....
....
 

{userName.text}
{password.text}

.......userName.text ......password.text....   srv.send()

[!CDATA.....


checkLoginHandler(event:ResultEvent):void {
if (event.result.loginSuccess == "yes")
currentState = "loginedIn" ;
else if (event.result.loginSuccess == "yes")
Alert.show() ;
}

阅读(397) | 评论(0) | 转发(0) |
0

上一篇:Apache Commons

下一篇:blazeDS体系结构

给主人留下些什么吧!~~