I have #include 'script.as' in my movie. Question is does AS gets imbeded into
the swf or it's executed from file when swf runs? I have singe source files for
a 2 different sets of movies, only difference is what's in a AS file. Since I
use movies on 2 different web sites I thought I can just change default
gateway in the AS file that's located in the same folder as swf's. But it
seams to me no matter what I do swf on 2nd site is using the settings from AS
file on the first site!!!
derobinson - 16 Nov 2004 04:30 GMT
The include executes when you compile the SWF itself, not at runtime, so you'll
need to get the gateway name into your movie with some other method. You could
try using loadVars pointing to an external text file for instance.
Good luck!