Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Ralf Rottmann
Title: Re: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?








Hi Matt,

Answering from a Blackberry so I cannot test it right away but if you're right it's wrong in the entire documentation.

Thanks for answering. I'll test asap.

Regards
RR
--
mobile: +49-(0)170-914-5495
email:   [EMAIL PROTECTED]




-Original Message-
From: flexcoders@yahoogroups.com 
To: flexcoders@yahoogroups.com 
Sent: Fri Dec 02 02:13:10 2005
Subject: RE: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

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 <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>     Software development best practice   



YAHOO! GROUPS LINKS


    *    Visit your group "flexcoders <http://groups.yahoo.com/group/flexcoders> " on the web.
     
*    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
     
*    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .













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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Matt Chotin










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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.