5 Replies Latest reply on Jul 22, 2008 10:12 AM by Kurt Mossman

    Rss Reader won't work after uploaded to site

    ch3rryblaster
      The blog reader works in flex 2.0 builder. But when i upload the code to my host. Nothing ever loads its just blank.
      Here is the code for the blog reader.


      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
      creationComplete="feedRequest.send()" layout="absolute">

      <mx:HTTPService


      id="feedRequest"
      url=" http://news.softpedia.com/newsRSS/Security-5.xml"
      useProxy="false"/>






      <mx:Panel x="10" y="10" width="475" height="400" title="{feedRequest.lastResult.rss.channel.title}">

      <mx:DataGrid id="dgPosts" x="20" y="20" width="400" dataProvider="{feedRequest.lastResult.rss.channel.item}">
      <mx:columns>
      <mx:DataGridColumn headerText="Posts" dataField="title"/>
      <mx:DataGridColumn headerText="Date" dataField="pubDate" width="150"/>
      </mx:columns>
      </mx:DataGrid>

      <mx:TextArea x="20" y="175" width="400" height="75" htmlText="{dgPosts.selectedItem.description}"/>
      <mx:LinkButton x="20" y="225" label="Read Full Post" click="navigateToURL(new URLRequest(dgPosts.selectedItem.link));"/>

      </mx:Panel>

      </mx:Application>





      I'm unable to duplicate thi error on my computer but some one got this when clicking on my blog reader.

      Error:

      [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/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/redirectEvent()