看板 Flash 關於我們 聯絡資訊
版本是AS2.0 使用php接收訊號 現在的問題是 當Flash傳送訊號給PHP (PHP的目的就只是讀寫另一個xml) 回傳的訊號一定會往瀏覽器跑 導致開新一個php的視窗 (當然,白白的一頁) 有沒有辦法讓她不要這樣? 我原本是使用 _root.getURL("網址.php?name="+_root.pname.text+"& score="+_root.sf.text+"&time="+Math.random(),"_blank"); 後來經過題點 使用了 _root.sub_lv = new LoadVars(); _root.sub_lv['name'] = _root.pname.text; _root.sub_lv['score'] = _root.sf.text; _root.sub_lv.send("網址.php","POST"); 可是還是不行啊!!! 換成使用sendAndLoad的話 就連變數都傳送不過去php了 爬了一下google到的英文論壇 怎麼聽說這是LV.send的bug............ 有沒有辦法解決啊? -- /﹊ // \ ╲ ◥◣ ── ノ /▄▄▄◣ 川澄 舞˙兔子mode — ~ ◢◤ @binshaunMKII -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.121.211.92
aquarianboy:建議你可以用firefox的外掛看看到底它送了什麼東西出 06/15 13:06
aquarianboy:去,或是附個網址或原始檔吧,我覺得應該不是bug 06/15 13:06
aquarianboy:只是不熟悉它的使用方法罷了 06/15 13:07
terrylchen:不是bug,是LoadVars.send本來就一定會新開視窗,F1有 06/15 14:47
terrylchen:寫,如果不想他新開視窗,請用sendAndLoad 06/15 14:47
terrylchen:啊沒注意到你前面有寫sendAndLoad齁... 06/15 14:48
terrylchen:http://tinyurl.com/29ezgn2,你sendAndLoad是不是少帶 06/15 14:50
terrylchen:變數了啊 06/15 14:50