开发者

display content of a .js file called asynchronously in AIR

I am new to AIR programming and find there is a lack of useful debug tools. For instance, a JSONP request works fine in HTTP but not in the AIR app generated.

Basically, I am creating a "script" element, giving him an URL as "src" and appending it to "head". But I don't have expected results and w开发者_运维技巧ould like to know what is the content of the "src" returned through this call.

How would you do it ?


User a URLRequest to load the js without executing it - see http://help.adobe.com/en_US/air/reference/html/flash/net/URLRequest.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜