# Sml question

**URL:** <https://forum.kirupa.com/t/sml-question/252635>\
**Category:** Uncategorized\
**Created:** [February 21, 2008, 9:56pm UTC](https://forum.kirupa.com/t/sml-question/252635 "2008-02-21T21:56:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koolkrasher](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Post date:** [February 21, 2008, 9:56pm UTC](https://forum.kirupa.com/t/sml-question/252635/1 "2008-02-21T21:56:46Z")

</div>

im using a rss feed that has images, bt the images are not wraped in \<image\> instead there in the description tag in html format. Is there a way i can pull that image out of the rss so i can use it in a mc?

this is the code im playing with.

```auto

var loader:URLLoader = new URLLoader();//creates new loader instance
loader.addEventListener (Event.COMPLETE, onLoaded);//listens for loaded content

lb.addEventListener (Event.CHANGE, itemChange);// change listbox item on event
//lb change fucntion
function itemChange (e:Event):void {
    ta.text = lb.selectedItem.data;
}

var xml:XML;

function onLoaded (e:Event):void {
    //grabs xml data and puts into xmllist

    xml = new XML(e.target.data);
    var il:XMLList = xml.channel.item;
    var it:XMLList = xml.channel.item.title.text();
    var id:XMLList = xml.channel.item.description.text();
    var iLink:XMLList = xml.channel.link;
    var iData:XMLList = xml.channel.data;
/*for (i=0; i<10; i++){*/
    trace ("ttem: "+il[1]);
    trace ("title: "+it[1]);
    trace ("description: "+id[1]);
    trace ("link: "+iLink[1]);
/*}*/

    for (var i:uint=0; i<il.length(); i++) {
        lb.addItem ({data:il.description.text()*,
        label:il.title.text()*});
    }
}
//loops through data and adds it to the list
loader.load (new URLRequest("http://blog.holidays.net/index.php/category/St.-Patrick's-Day/feed/"));

```

any one have any ideas?
