[問題] 如何開啟sever端的.json檔案

看板Flash作者 (臉都歪了)時間13年前 (2012/06/18 10:57), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
如題 我在我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)

06/18 15:26, , 1F
錯誤訊息是什麼? 加個IOError的handler看看
06/18 15:26, 1F
文章代碼(AID): #1FtfaJ0R (Flash)
文章代碼(AID): #1FtfaJ0R (Flash)