Append a .js file in AIR
I have an application that, in a browser, gets a .js file from the server with some functions declared, appends this file to its head section, and then calls the functions at some points in the app.
I want to reproduce this behaviour in AIR, but the append stuff is not working (it seems like I get the file, but I cant access/append its content). How would you work around that ? (I cannot code the j开发者_如何学Pythons directly because it s dynamically changing depending on server stuff).
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f0e.html#WS5b3ccc516d4fbf351e63e3d118666ade46-7ef9
turns out it is not possible.
As stated by jimbojw, "sandboxes" turnarounds are possible (cf. link above)
精彩评论