Welcome to WebmasterWorld Guest from 107.22.7.35

Forum Moderators: open

Message Too Old, No Replies

Can U include External Actionscript files on a different domain name?

     
10:51 pm on Jun 19, 2007 (gmt 0)

10+ Year Member



To the actionscript experts: I am trying to include an external .AS file from a domain name other than my own. It seems this is not allowed and every actionscript web site I look at does not explain how to do this.

For example: if my SWF file is on www.domain1.com and I want to call www.domain2.com/test.as, is it possible to code:

#include "http://www.domain2.com/test.as"?

If not, can I load an external SWF file from the domain name like:
loadMovie("http://www.domain2.com/test.swf", "EQ");

Of course, the SWF file would have the actionscript in it.

If anyone knows the answer, please let me know.

Bruce

 

Featured Threads

Hot Threads This Week

Hot Threads This Month