John..

Your flex application cannot access no URL unless it has the same domain as
your application was loaded. To go through this, the domain should configure
a crossdomain file allowing you to access it, but, as you said, you have no
control over this.

I'm not a Flex expertise, so there could be a better solution. But there's a
solution that would entirely solve your RSS problem. Program a simple PHP
file that actually takes the feed entries you need. Than you use a
HTTPService to call this file at your service.

That is, your PHP file would act as a proxy. The RSS information would pass
by this file before reaching your Flex application.

On 2/10/07, 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(<http://www.adobe.com/2006/flex/mx/internal::faultHandler%28>
)
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





--
André Rodrigues Pena

LOCUS
www.locus.com.br

Blog
www.techbreak.org

Reply via email to