Posts: 3656 Reputation: 61
36 / /
Joined: Aug 2006
RE: External JS files
quote:Originally posted by Scripting Docs
Remarks
The use of this function should be weighted carefully. For clarity reasons, all the files of your script should be loaded when the script is started. This function is only meant to be used if parts of your script are optional or don't require to be started immediately. Remember that all the files with a .js extension placed in your main script's directory are always automatically loaded before the script is started.
For security reasons, never use this function to run code you dynamically downloaded from the internet