0 Replies Latest reply on Sep 3, 2009 11:39 AM by WickidGRAFX

    RSS Feed Flash Widget


      Ok NEd Murphy helped me before with the previous widget I made wich took a list of feeds and placed them in a listbox and then once clicked displayed the info in a textarea. Now I need to make another one that just loads one feed (no listbox) into a textarea. The XML file is setup this way:


      <?xml version="1.0" encoding="utf-8" ?>
      <rss version="2.0">
           <title>SizzleTwist.com - Sizzling Deal of the Day</title>
          <description>Sizzling Hot Deals!!</description>

      <title>VID Wireless Camera Infrared Night Vision Color Baby Monitor Security</title>
      <table><tr><td><IMG SRC="http://us.st12.yimg.com/us.st.yimg.com/I/yhst-91018624117015_2071_49957642" STYLE="float: left;"/></td></tr></table>
      <h2 align="left"> VID 2.4GHz Wireless Video Camera Kit with Night Vision </h2>
      <h4 align="left"> Includes 4-Channel Wireless Receiver Infrared Color Video Camera </h4>
      <p> This infrared camera is perfect for those in need of monitoring baby or security at home or business! Not only does it transmit a great color picture in normal light conditions, but at low or no light conditions, it automatically becomes an infrared camera and provides mono audio. </p>
      <p> And unlike many other infrared cameras, this one is completely wireless! This makes it not just a good general camera, but it's also a perfect camera for use as a day-time or night-time baby monitor. </p>
      <p> Note:  These cameras use the same fequency and cannot be switched or used in conjunction with multiple cameras. </p>
      <b><u> Features</u>:</b><br><br>
      <li> Wireless Camera Features:
      <li> Night vision infrared camera
      <li> Color camera in normal light
      <li> Works great as a baby monitor or for home/business surveillance
      <li> Operates on the 2.414 GHz frequency
      <li> 1/3, 1/4-inch image sensor
      <li> NTSC format (standard format for USA and many other countries)
      <li> 90 MHz - 200 MHz output frequency
      <li> 200mw output power
      <li> 50 M / 100 M distance (150 to 300 feet) - depends of line of site, walls, etc.
      <li> Low power consumption
      <li> Silver camera body color
      <li> Can be used with or without the wireless receiver (camera can be wired directly to TV/VCR/Capture Card, standard RCA video output)
      <li> Built-in microphone captures mono audio
      <li> Powered by either the included AC/DC 12v power adapter </li><br>
      <b><u> Wireless Receiver Features</u>:</b><br><br>
      <li> Antenna
      <li> Video out (standard RCA video output)
      <li> Frequency Tune switch
      <li> 12V DC in (AC/DC power adapter included) <li><br>
      <b><u> Unit Dimensions</u>:</b><br><br>
      <li> 3 x 2.25 x2-inches (H x W x D, Camera)
      <li> 1 x 3.25 x 5.25-inches (H x W x D, Receiver) </li><br>
      <b><u> Package Includes</u>:</b><br><br>
      <li> Wireless Infrared Camera / Color Camera
      <li> Wireless Receiver
      <li> Manual
      <li> Antenna (for receiver)
      <li> Two (2) A/V cable
      <li> Camera AC/DC power adapter (100-240V AC, 50/60Hz; 12V DC, 500mA)
      <li> Receiver AC/DC power adapter (100-240V AC, 50/60Hz; 12V DC, 500mA) </li><br><br><b>Retail-Price : $99.99<br><br>Sale Price:  $49.99 <br><br>Ground Shipping : $4.99<br><br>Availability : Yes</b>]]>
      <title>roxy cleopatra bl gold DOD</title>
      <table><tr><td><IMG SRC="" STYLE="float: left;"/></td></tr></table>
      <br><br><b>Retail-Price : $100<br><br>Sale Price:  $42.99 <br><br>Ground Shipping : $3.99<br><br>Availability : Yes</b>]]>



      The code I am using is:


      var loader:URLLoader = new URLLoader();
      loader.addEventListener(Event.COMPLETE, onLoaded);

      var xml:XML;

      function onLoaded(e:Event):void

      xml = new XML(e.target.data);
      var il:XMLList = xml.channel.item;

      ta.htmlText = il.item.title.text() + il.description.text();

      loader.load(new URLRequest("http://site.sizzletwist.com/feed/feed.php"));


      I though by simply modifying the code I used in the first one that I could make this one work but it does nothing when it loads. The only info I need to load is the first title and description and is needs to display the HTML as it does in the feed. Please help since this is time critical. Thanks.