2 Replies Latest reply on May 6, 2006 7:04 AM by Graeme Harker

    What does allowscriptaccess="samedomain" mean?

    Graeme Harker Level 1
      Documentation says, "Use allowscriptaccess to let your Flash application communicate with the HTML page hosting it. This is required because fscommand() and getURL() operations can cause JavaScript to use the permissions of the HTML page, which can be different from the permissions of your Flash application. This has important implications for cross-domain security. allowscriptaccess="samedomain" permits scripting operations only if the Flash application is from the same domain as the HTML page."

      Question is what is a "domain" for locally launched applications that run in the local-with-file-system sandbox ? If the SWF and its containing html file are in the same folder are they deemed to be in the same "domain". If they're in different folders are they deemed to be in different "domains".