Is there a way for a JavaScript file to load another file in AIR? -
I am trying to create my own (small) framework in JavaScript for a Hero application and I have a strange problem : I can not find a way to load another for a javascript file. It seems that the only way to load JavaScript is to load the HTML file.
Is that correct? Is there really no way to load another Javascript file?
Security restrictions in application sandbox mode do not allow any new JavaScript code immediately after the loading event ( You can also load and evaluate JS during that event).
For loading data, you should be able to use XHR to recover any text data without any restrictions at any time.
Comments
Post a Comment