Re: [問題] flash CS3 +ASP
恩 各位大大好
經過無數的測試
-----------------------------------------
function pla(event:MouseEvent):void {
var myRequest:URLRequest = new URLRequest("http://sql.oyoyo.twbbs.org/update.asp");
var myLoader:URLLoader = new URLLoader();
var myVariables:URLVariables = new URLVariables();
myVariables.id = "olala";
myVariables.score=1222;
myRequest.method = URLRequestMethod.POST;
myRequest.data = myVariables;
myLoader.load(myRequest);
}
function onLoaded(evt:Event):void {
trace("here we get the data back: "+myLoader.data);
}
--------------------------------------------------------------
終於成功的透過flash CS3寫入資料庫了
現在的問題是 我想要寫另外一個flash檔 透過id去搜尋 score欄位
單純的asp網頁 我已經寫好了 也可以使用
但flash要怎麼得到score欄位的值呢??
上面的程式碼 該怎麼改呢??
感恩
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.122.39.251
推
11/07 01:25, , 1F
11/07 01:25, 1F
→
11/07 01:30, , 2F
11/07 01:30, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 2 之 4 篇):