0 Replies Latest reply on Apr 5, 2007 4:52 AM by joshspoon1

    Yahoo Pipes

    joshspoon1
      I'm just trying to get some of my pipe to go into a data grid. Can anyone tell me how I've screwed something up and wasted 4hrs. of my life.

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

      <mx:Script>
      <![CDATA[
      import mx.collections.ArrayCollection;
      import mx.rpc.events.ResultEvent;

      [Bindable]
      private var myData:ArrayCollection;

      private function resultHandler(event:ResultEvent):void {
      myData = event.result.rss.channel.title;
      }
      ]]>
      </mx:Script>

      <mx:HTTPService id="myService"
      url=" http://pipes.yahooapis.com/pipes/pipe.run?search=sandwhich%26_id=tEaG60rj2xGl7hOLn0artA%26 _run=1%26_render=rss"
      result="resultHandler(event)"/>

      <mx:DataGrid dataProvider="{myData}"/>

      </mx:Application>

      Thanks