Sorry, I am out of my depth here. I don't use ColdFusion. All I can suggest is creating a debug file on the server and dump to the file to see if you are getting the desired response. After that, use Charles to see if the server is sending the correct response.
--- In [email protected], "ZIONIST" <stinasius@...> wrote: > > Hi guys, i have changed from using a cfc to using cfm. And when i do a > cfdump, i get the feed showing up. When i try to point flex to the cfm, and > run the app i get no data. Below is the code. Could someone please help. > > flex code > ================================================ > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute" > creationComplete="init()"> > > <mx:Script> > <![CDATA[ > import mx.collections.ArrayCollection; > import mx.rpc.events.ResultEvent; > > [Bindable] > private var _rssResults:ArrayCollection; > > private namespace atom="http://www.w3.org/2005/Atom"; > use namespace atom; > > private function processResult(event:ResultEvent):void > { > var xmlList:XMLList=event.result.channel.item > as XMLList; > for each (var item:XML in xmlList) > { > var myDate:String=item.PUBLISHEDDATE; > myDate=myDate.slice(0, 22); > _rssResults.addItem({title: item.TITLE, > date: myDate}); > } > } > > private function init():void > { > _rssResults=new ArrayCollection(); > tweetFeed.send(); > } > ]]> > </mx:Script> > > <mx:HTTPService id="tweetFeed" > url="cfcs/twitter.cfm" > result="processResult(event)" > resultFormat="e4x"/> > > <mx:List id="twitterFeed" dataProvider="{_rssResults}" > itemRenderer="itemRenderers.tweetFeedRenderer"/> > > </mx:Application> > > Coldfusion Code > =========================================== > <cfset feedurl = > "http://search.twitter.com/search.atom?q=from%3ARealtrOnline" /> > <cffeed source="#feedurl#" properties="feedmeta" query="feeditems" /> > <cfdump var= "#feeditems#" label= "feedItems" /> >

