A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: What is param name="allowScriptAccess" value="sameDomain"

  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    56

    What is param name="allowScriptAccess" value="sameDomain"

    and how do I use it.

    I think its for calling the same swf without starting from the first frame when you go to different html pages. I can be wrong.

    Please help.

    -G

  2. #2
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    From the Help:

    allowscriptaccess attribute/parameter
    Value
    always | never | samedomain

    Description
    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.

    always permits scripting operations at all times.

    never forbids all scripting operations.

    samedomain permits scripting operations only if the Flash application is from the same domain as the HTML page.

    The default value used by all HTML publish templates is samedomain.

    K.

  3. #3

    allowScriptAccess

    ...
    Last edited by pip pip; 03-05-2007 at 05:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center