Hi John,

I'm new to Flex 2 and I have not an answer to this point. My message
is also asking for help.

I'm having the same error executing my Flex application on my local
machine and trying to access an XML data file that's in a subdirectory
of the /bin directory.

The curious point is that if I upload all files (.html, .swf and .xml)
to my department web server it works fine!!! 

I've been browsing the corresponding documentation. It says there
shuold be a "mms.cfg" file granting permissions at:

C:\windows\system32\macromed\flash\mms.cfg; on a default Windows XP
installation), 

BUT I lack that file in my XP system!! I don't know if that's the
cause for this error, but I supposed that by default an SWF file have
granted access to a local data file.

Could anybody out there clarify this point?

Thank you very much in advance.

Pedro

--- In [email protected], John buono <[EMAIL PROTECTED]> wrote:
>
> I have written an application using Flex 2 builder, and on my local  
> machine it works fine.  The application goes out and reads various  
> RSS feeds on demand, displays them and allows you to pick one you  
> want to read.
> 
> but when I deploy the .swf file I get this message
> 
> RPC Fault faultString="Security error accessing url"  
> faultCode="Channel.Security.Error" faultDetail="Destination:  
> DefaultHTTP"]
>       at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/ 
> internal::faultHandler()
>       at mx.rpc::Responder/fault()
>       at mx.rpc::AsyncRequest/fault()
>       at ::DirectHTTPMessageResponder/securityErrorHandler()
>       at flash.events::EventDispatcher/ 
> flash.events:EventDispatcher::dispatchEventFunction()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
> 
> 
> I believe the problem is a cross domain security issue, but when I  
> read the documentation on the cross domain xml file, it says it has  
> to be deployed on the server where the data resides, which I have NO  
> control over.  How do I do something as simple as read an rss sml  
> file, something that is supposed to be allowed.
> 
> Why does it work on my local machine but not when deployed that is  
> not making any sense to me.
> 
> Until I can demonstrate that we can in fact deploy .swf files using  
> flash my company is refusing to allows it use, so this is rather  
> critical..
> 
> thank
> 
> john
>


Reply via email to