New to Flex: RSS Reader help

I'm doing one oh if very simple in flex RSS reader, but I keep seeing so many ways to do it and none of them work for me, as I understand it, it should be as simple as:

" < mx:HTTPService id ="EngadgetFeed"url =" http://www.Engadget.com/RSS.XML "/ > "

but then how to bind data to the grid of my data?

< mx:DataGrid id = "Feed" x = "10" y = "86" height = "307" >
< mx:columns >
< mx:DataGridColumn headerText = "Title" dataField = "col1" / >
< mx:DataGridColumn headerText = "Date" dataField = "col2" / >
< / mx:columns >
< / mx:DataGrid >

Ive tried to add: dataProvider = "{EngadgetFeed}" but I know im missing something again.

Can someone show me how do it in the most simple? I don't need it to be amazing looking that I want just to function so I can learn how do.

This should help you to go:


http://www.Adobe.com/2006/mxml"layout ="vertical"creationComplete =" init () ">"
   
   
URL ="http://www.engadget.com/rss.xml"fault = "handleFault (event)" result = "handleResult (event)" / > "
   
   
        Import mx.collections.ArrayCollection;
Import mx.rpc.events.FaultEvent;
Import mx.rpc.events.ResultEvent;
           
[Bindable]
private var rssObject:Object;
           
private var dp:ArrayCollection = new ArrayCollection();
           
private function init (): void
{
myService.send ();
}
           
private void handleResult(evt:ResultEvent):void
{
rssObject = evt.result.rss.channel;
}
           
private void handleFault(evt:FaultEvent):void
{
               
}
]]>
   

   
   
   
       
           
       

   

   
   

Dany

Tags: Flex

Similar Questions

  • RSS RSS Reader - multiple signals... Help

    First of all, let me explain that I am a designer and tend to struggle with the code. However, I was making a serious effort to learn AS3 and have had some unexpected success... until I met this obstacle.

    I used the following code to create an RSS reader that works almost exactly as I had hoped. I can load and parse the stream, transmit data to an object and assign the various node data to dynamic elements on the stage (for simplicity, I have only included 2 items here, item (title_txt) title and Title (feed_txt) to power.) I have created 2 buttons (Prev element, the order of the day) to advanced by the tags of the element in the XML file and update step accordingly. It all works perfectly.

    Where I ran into trouble, when I try to add the ability to scroll through several FLOW RSS, update the data of my XML object and update the elements on the stage. As you can see in my code, I created a button called 'Next Feed' that I use to scroll through the elements of an array (rssArray) containing all the RSS feeds.

    As the code currently reads, (I have commented the code that creates and calls the function to load the new stream) 'Next Feed' button correctly to advance to the next flow and updates the appropriate variables. (the 'trace' confirmed) However when I comment the 'feed update' works and call it, hell breaks loose.

    I am sure that I created a sort of involuntary loop where the guard function loading himself in itself because the first time that the function is called, it is called 1 time (and the scene is updating the way I expect). But each time consecutive as I click on the 'next feed' button, the function "updateItem" is called an extension. (that is to say, the function is called 2 times, then 3 times, then 4, etc.)

    I guess when I'm trying to do is to replace the old data in the object xmlLoader with new data from the following power in the table. I feel like I'm really close or approaching this coming from a direction completely false. I tried everything I thought 'should' work and am now ideas. That's why I decided to come here in the hope that a set of charges eyes could see what Miss me.

    I apologize for the hike, but I hope that I was clear. If I don't have it, ask me and I'll try to clarify.

    Thank you for taking the time to look at this, and I would be very grateful for any help you can provide.

    Greg


    When you reload the xml file and the loading ends, the LoadXML function is recalled. This function adds earphones of additional events for the buttons and it is originally the results you see. See the corrected code:

  • New to Flex, Help! MX:list allowMultipleSelection, returning [object Object]

    I am very new to Flex so talk slowly :). I also know that I have committed all sorts of odd coding Flex.
    I have a mx:list that I am filling with a dataprovider remotely. When choosing more than one point and I move to coldfusion or simply to show the selected item in a textinput, I get [object Object] [object Object]. I use event.currentTarget.selectedItems and have tried variations 1 million. I just need to get the data of the selected item in a list with commas to pass on the CF server. The code is attached.
    Remember, speak slowly. This has been killing me for the last few days.
    Thank you very much
    -Kevin

    There are a few unknowns here, but maybe you could try the code below. Assuming that you want to pass a specific key in your object, such as myKey in what follows:

    .... [{myKey: "Item 1", anotherKey:true}, {myKey: "Item 2", anotherKey:false}, {myKey: "Item 3", anotherKey:true}]...

    Note that the order in which you select the elements in the list determines their order in the table. If you could do a sort, or if you can't count on that, you can manually keep track of the order of selection.

    TS

  • How to develop the Rss reader for Blackberry java?

    HII,

    This is my first post in this forum, I'm new mobile app, can everyone, how to develop the Rss aggregator for java Blackberry?

    I've attached a zip file which would be useful for you, check it out it's a RSS reader coll, I used some of the techniques for my application, please mark as solution, thank you.

  • Realization of 2 sources of data to an XML - new to Flex

    Hi all

    I'm new to flex but went by what I could do already. I created a Web service to pass a SQL data extraction.

    These data comes as:

    < number >

    < count > < brand > M < / brand > < xxxx concept > < / concept > < max > 123 < / max > < min > 100 < / min > < start > 100 < / star t > < end > 123 < / end > < / count >

    < count > < brand > T < / brand > < yyyy concept > < / concept > < max > 423 < / max > < > 400 min < / min > < start > 400 < / star t > < end > 423 < / end > < / count >

    ......

    < / data >

    I use the candlestick chart and need to create two data sources: one for brand M and the other for the T mark

    Any suggestions would be helpful. Sorry, it seems so simple, but I'm still learning and have not been able to understand.

    Thanks in advance for your help.

    Hello

    a variant of the division:

    M xxxx 123 100 100 123

    T aaaa 423 400 400 423

    var brandM:XMLList = inData.count. (brand is "M");

    trace (brandM.ToXmlString ());

    var brandT: XMLList = inData.count. (brand is "T");

    trace (brandT.ToXmlString ());

    ]]>

  • My RSS reader captures all of my favorites

    My RSS reader (in a nutshell) does not pick up all my feeds. specifically, it does not pick up those with dotted square instead of logos in the label box. that means these squares, and how repair my drive to pick up?

    Thank you.

    Roger Blair

    These first three items in the library have the generic icon by default and are not recognized as feed items, so their location (URL) may be damaged or is not link to a feed page.
    You can check by opening the three links in tabs to see what happens.

  • Is the function of "Subscribe to this Page" by default in Firefox, an RSS reader?

    Hello world

    Does anyone know if the "Subscribe to this Page" feature by default in Firefox is an RSS reader?

    For example, I want to subscribe to some articles, etc, and my research has suggested I install Feedly (https://addons.mozilla.org/firefox/ad.../feedly/), I have now. However, I have noticed while playing that in Firefox, the feature to subscribe to a page offers this too - but is equivalent to the function of Firefox an RSS reader?

    Thanks in advance
    Y2J

    I'm glad that I could be sure of you.

    Please use the Mozilla support forums.

    I hope that you will continue to use Firefox and other Mozilla products.

  • I download the ios9.2 but I can't download the application on the Apple App Store. Some people say to delete the old App Store, but cannot download the new App Store. Please help me. Thank you.

    I have download the iis 9.2 application, but I can't download the application on Apple App Store.Some people say need removes the old App Store and download the new AppStore.I can not download the new app store. Please help me. Thank you.

    Can't download what app? What happens when you try? The App Store is part of the operating system. You can not download separately.

  • I just upgraded 5 c to 6 s GSM (o2). I have all new versions of itunes ob both devices. When I connect usb a message:-can't use the iphone "iphone" because he needs a newer version of itunes. Help!

    I just upgraded 5 c to 6 s GSM (o2). I have all new versions of itunes ob both devices. When I connect usb a message:-can't use the iphone "iphone" because he needs a newer version of itunes. Help!

    But you have the latest version of iTunes on your computer?

  • I recently installed a new disk of hard on my laptop, is there a way I can still use my OS to a new hard drive? pls help

    I recently installed a new hard drive on my laptop, and Ive had an activation problem my windows 7 OS, it says that I cannot activate my OS on this machine, is it possible that I can still use my OS to a new hard drive? pls help

    You must activate by phone and speak to a representative of activation.

    How to activate Windows 7 manually (activate by phone)

    1) click Start and in the search for box type: slui.exe 4

    (2) press the ENTER"" key.

    (3) select your "country" in the list.

    (4) choose the option "activate phone".

    5) stay on the phone (do not meet all the automatic guests) and wait for a person to help you with the activation.

    (6) explain your problem clearly to the support person.

  • I already have an annual subscription to the export of Adobe and Adobe track, but it does not work on my new computer (Windows 10). Help, please.

    I already have an annual subscription to the export of Adobe and Adobe track, but it does not work on my new computer (Windows 10). Help, please.

    Look under Tools.

  • lost the serial number for my ADOBE CS5 product and need to install it on a new machine. Can someone help me?

    lost the serial number for my ADOBE CS5 product and need to install it on a new machine. Can someone help me?

    Hi Hectorc96414045,

    Please refer to find the serial number of your product Adobe quickly

    Visit also Download Adobe Creative Suite 5 products

    Please let us know if it helps.

    Kind regards

    Shelly

  • I have a new computer and I need help, download of lightroom on my computer. I also want to make to the latest version

    I have a new computer and I need help, download of lightroom to my new computer. I also want to upgrade to the latest version.

    Hi Giovanniv,

    Please download and install the updates for Lightroom from following link: keeping up-to-date for Lightroom

    Concerning

    Tanuj

  • I cannot open Photoshop after getting a new computer. Can you help me?

    I cannot open Photoshop after getting a new computer. Can you help me?

    Thanks for the update.

    If it is getting locked on screen 'sweep of the presets', press the ESC key to skip this part and then check out.

  • Could not transfer 'Download' my Lightroom 5 on new laptop, I bought 2013 help, help!

    Could not transfer 'Download' my Lightroom 5 on new laptop, I bought 2013 help, help! Customer service call, but it took more time for me to get them the rep then send me back to 'apply online '...

    Hi Jacqueline,.

    You can follow the article; To quickly find the serial number of your Adobe product that will help you locate your serial number.

    Let us know if it works or not.

    Thank you

    Yann Arora

Maybe you are looking for

  • Not all films in view of library iTunes on iPad

    I use the latest version of iTunes (12.4.2.4) on my iMac running OS X 10.11.6 and the latest iOS version (9.3.3) on my iPad 3, but not all of the movies I have in my iTunes library appear in the movies section of my iPad 3. I don't want the actual mo

  • Driver printer and recognition of MF3220 Satellite C660 Windows 7

    Just bought a C660-125 and I'm trying to make it work. Accesses the Internet ok and my external hard drive via USB, but I can't get a printer works.I do not receive my printer Canon mf3220 recognized as a printer when I connect the USB cable. I tried

  • Question about the use of graphics drivers on satellite L350D

    Hi its me again... I want to ask abuts what graphic drivers I use shud on Toshiba Satellite L350D 20 d? Well meet South eazy if the monitor will be added to your laptop for maximum performance with quality and if it wil lbe same manuf. TOSHIBA LCD To

  • Portege M700 expansion Bay

    I was wondering, is there Posibility to use the extra HARD disk drive instead of DVD? On * European * page, there is no sign of this combination, but on * Canadian * I found something like this...[http://www.toshiba.ca/web/product.grp?lg=en&section=1

  • Invalid recovery email

    I can't connect to my Xbox Live account as it says that my account is blocked. Previously, I logged in * address email is removed from the privacy *. My gamer tag is Bilious123. I spoke with the Microsoft customer service that has been able to ensure