Hi guys below is the code i came up with but i get this error "faultCode:Server.Processing faultString:'Unable to invoke CFC - The method 'getTweets' in component C:\ColdFusion9\wwwroot\twiiterCFlex\src\cfcs\twitter.cfc cannot be accessed remotely.' faultDetail:''"
flex code ========================= <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="tweetSvc.getTweets()"> <mx:Script> <![CDATA[ import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.collections.ArrayCollection; import mx.controls.Alert; import mx.managers.CursorManager; [Bindable] private var tweetAr:ArrayCollection; private function tweetResult(event:ResultEvent):void { tweetAr=event.result as ArrayCollection; } ]]> </mx:Script> <mx:RemoteObject id="tweetSvc" destination="ColdFusion" source="twiiterCFlex.src.cfcs.twitter" showBusyCursor="true" fault="CursorManager.removeBusyCursor();Alert.show(event.fault.message)"> <mx:method name="getTweets" result="tweetResult(event)"/> </mx:RemoteObject> <mx:List id="twitterFeed" dataProvider="{tweetAr}" itemRenderer="itemRenderers.tweetFeedRenderer"/> </mx:Application> coldfusion cfc =============================== <cfcomponent> <cffunction name="getTweets" access="public" returntype="query"> <cfset var qryGetTweets = "" /> <cffeed source="http://twitter.com/status/user_timeline/RealtrOnline" properties="meta" query="qryGetTweets" /> <cfreturn qryGetTweets /> </cffunction> </cfcomponent> What am i missing?