作者kencool107 (臉都歪了)
看板Flash
標題[問題] 如何開啟本機端的.json檔案
時間Mon Jun 18 10:57:20 2012
如題
我在我sever上有一個 1.json的檔案
var urloader:URLLoader = new URLLoader();
var urReq:URLRequest = new URLRequest("
http://Domain/1.json");
urReq.contentType = 'application/json';
urloader.addEventListener(Event.COMPLETE, showData);
urloader.load(urReq);
可是他不能給我開
請問是哪裡問題勒
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.251.55.25
※ 編輯: kencool107 來自: 60.251.55.25 (06/18 11:11)
1F:→ aquarianboy:錯誤訊息是什麼? 加個IOError的handler看看 06/18 15:26