flex load policy file crossdomain.xml

10,034

From the docs:

loadPolicyFile() method

Looks for a policy file at the location specified by the url parameter.

Share:
10,034
cdugga
Author by

cdugga

Developer, focused mainly on writing JEE applications but interested in all aspects of software engineering especially data science and AI programming.

Updated on June 14, 2022

Comments

  • cdugga
    cdugga about 2 years

    I want to place my crossdomain.xml file in a different location than the root because it just creates to much dependency issues.

    How can i tell flex to look from my crossdomain.xml file somewhere other than the root?Do i add the loadPolicy code to the init method of my flex app?

    Does anyone have any good samples on this?

  • Ido Gridish
    Ido Gridish over 14 years
    can the url be a local file path?
  • Tomalak
    Tomalak over 14 years
    This would violate sandbox security. So, without looking it up, my money is on "no".