homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

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

10+ Year Member

Msg#: 3372768 posted 10:51 pm on Jun 19, 2007 (gmt 0)

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.



Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved