6 Replies Latest reply on Oct 25, 2006 3:06 PM by leotemp

    Works offline, but not online

    INCG
      Hi there

      I've followed the tutorial on how to create a rss feed reader, everything works great... but, it only works offline, when i transfer all the files to my webserver the rss feed wont load.

      What am i doing wrong?

      Code:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="feedRequest.send()" backgroundGradientColors="[#ffffff, #ffffff]">
      <mx:HTTPService id="feedRequest" url=" http://www.cssbeauty.com/rss/news/" useProxy="false">
      </mx:HTTPService>
      <mx:Panel x="10" y="10" width="460" height="400" layout="absolute" title="{feedRequest.lastResult.rss.channel.title}" cornerRadius="10">
      <mx:DataGrid x="20" y="20" id="dgPosts" width="400" dataProvider="{feedRequest.lastResult.rss.channel.item}">
      <mx:columns>
      <mx:DataGridColumn headerText="Posts" dataField="title" />
      </mx:columns>
      </mx:DataGrid>
      <mx:TextArea x="20" y="185" width="400" height="120" htmlText="{dgPosts.selectedItem.description}" />
      <mx:Button x="20" y="315" label="Read full story" click="navigateToURL(new URLRequest(dgPosts.selectedItem.link));" />
      <mx:Image x="404" y="319" source="assets/cssbeauty.gif"/>
      </mx:Panel>
      <mx:Label x="331" y="418" text="Timothy van Sas / INCG"/>
      </mx:Application>