# RSS compilation using flash

**URL:** <https://forum.kirupa.com/t/rss-compilation-using-flash/220217>\
**Category:** programming\
**Created:** [March 23, 2007, 6:43pm UTC](https://forum.kirupa.com/t/rss-compilation-using-flash/220217 "2007-03-23T18:43:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dezamp](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@dezamp](https://forum.kirupa.com/u/dezamp)\
**Post date:** [March 23, 2007, 6:43pm UTC](https://forum.kirupa.com/t/rss-compilation-using-flash/220217/1 "2007-03-23T18:43:17Z")

</div>

I am trying to make a compiler for an rss feed in flash but am finding it difficult.

my actionscript looks like this:

```auto
myRSS.firstChild.firstChild.appendChild(myRSS.createElement("item"));
myRSS.firstChild.firstChild.lastChild.appendChild(myRSS.createElement("description"));
myRSS.firstChild.firstChild.lastChild.lastChild.appendChild(myRSS.createTextNode(des));
myRSS.firstChild.firstChild.lastChild.appendChild(myRSS.createElement("title"));
myRSS.firstChild.firstChild.lastChild.lastChild.appendChild(myRSS.createTextNode(tit));

```

and my rss xml file looks like this:

```auto
<?xml version="1.0"?> 
<rss version="2.0">
<channel>

</channel>
</rss>

```

…the data from flash will be placed in between. At the moment it clears the xml file. I just can’t understand what is wrong! Please Help!
