I think it’s flash.system.Security.loadPolicyFile(…)

 

import flash.system.Security;

 

Security.loadPolicyFile(…)

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann
Sent: Thursday, December 01, 2005 4:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

 

Working with Flex 2.0 Alpha and XMLSockets, Sockets and WebServices since a couple of days we never could get security policy files working – is there a bug in Flex 2.0 Alpha?

 

If you could perhaps try to do a

 

System.security.loadPolicyFile("http://yourdomain.com/foo.xml");

 

and let me know (via the list) whether it works for you?

 

We get no errors at compile time but at runtime Flash Player 8.5 alpha returns a

 

Error #1069: Property security not found on class flash.system.System and there is no default value

 

Your help is greatly appreciated. As always. J

 

Ralf Rottmann

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to