flex load policy file crossdomain.xml
10,034
From the docs:
loadPolicyFile()
methodLooks for a policy file at the location specified by the url parameter.
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, 2022Comments
-
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 over 14 yearscan the url be a local file path?
-
Tomalak over 14 yearsThis would violate sandbox security. So, without looking it up, my money is on "no".