摘要: var loader:URLLoader = new URLLoader(); var url:URLRequest = new URLRequest("http://localhost/Handler.ashx"); url.method = URLRequestMethod.POST; var values:URLVariables... 阅读全文
posted @ 2011-11-22 15:28 高捍得 阅读(293) 评论(0) 推荐(0) 编辑
摘要: as文件: 1.导包 (网上找 as3corelib 目前我用93) import com.adobe.serialization.json.JSON 2. var loader:URLLoader = new URLLoader(); var url:URLRequest = new URLRequest("http://localhost/Handler.ashx")... 阅读全文
posted @ 2011-11-22 13:34 高捍得 阅读(275) 评论(0) 推荐(0) 编辑
摘要: // 以XML形式与ASP.NET通信 function showXml():void { var v:URLVariables = new URLVariables() var r:URLRequest = new URLRequest(); r.url = "http://localhost/handle.aspx"; r.method = U... 阅读全文
posted @ 2011-11-22 11:24 高捍得 阅读(210) 评论(0) 推荐(0) 编辑
摘要: function onClick(evt:MouseEvent):void { if (evt.target.name == "closeBtn") { evt.target.parent.gotoAndStop("close"); } else if (evt.target.name=... 阅读全文
posted @ 2011-11-22 11:16 高捍得 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 一、//TransmitFile实现下载 protected void Button1_Click(object sender, EventArgs e) { Response.ContentType = "application/x-zip-compressed"; Response.AddHeader("Content-Disposition", "attach... 阅读全文
posted @ 2011-11-22 10:00 高捍得 阅读(201) 评论(0) 推荐(0) 编辑