开发者

How to reach PHP-Document on Webserver with Adobe AIR HTML/JS/jQuery

开发者 https://www.devze.com 2023-01-09 02:38 出处:网络
Following thing: Within my Adobe AIR Application (I use the HTML/JS/jQuery variant, not the flash/flex variant) I want to contact my Web Server where a PHP-File is stored that handles database interac

Following thing: Within my Adobe AIR Application (I use the HTML/JS/jQuery variant, not the flash/flex variant) I want to contact my Web Server where a PHP-File is stored that handles database interaction. So I want my AIR-App to request data from the php file (the db) and show it. But when I make a request with .ajax() the AIR R开发者_JS百科untime seems to crash. I think it has something to do with Security Sandboxes but I cant figure out what to do next. How do I allow access to a web server within AIR?


Try using the AIR API for accessing URLs: http://help.adobe.com/en_US/air/reference/html/flash/net/URLLoader.html

0

精彩评论

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