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 js directly because it s dynamically changing depending on server stuff).
turns out it is not possible.
As stated by jimbojw, "sandboxes" turnarounds are possible (cf. link above)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.