I found the answer - this works great. Thank ya all!

this.receiveRSSObject = function(rssObject)
{       trace("Title: " + rssObject.channels[0].title);
        for(var i = 0; i < rssObject.channels[0].items.length; i++)
        {       trace("Title: " + rssObject.channels[0].items[i].title);
        }
}
rssObj = new RSSDataFactory()
rssObj.parseFeed("http://www.wishpot.com/public/rss/list.aspx?uid=2";,
                                 this, "receiveRSSObject");


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Elena Blanco
Sent: Tuesday, October 31, 2006 11:42 AM
To: [email protected]
Subject: [Flashcoders] Receaving xml feed from .aspx code

Hello 

This might be more of a beginner question, but I hope to find the answer
here.

 

I need to call this page: http://www.wishpot.com/public/rss/list.aspx?uid=2
from in within a Flash piece.

The page return list.aspx which is a .aspx file but is really a xml content.
I then need to parse the XML 

 

I am very familiar with parsing XML file, but I got stuck trying to load the
page

This does not seem to be working

 

//load records in by using asp to write xml

records_xml = new XML();

records_xml.onLoad = startList;

records_xml.load("http://www.wishpot.com/public/rss/list.aspx?uid=2";);

records_xml.ignoreWhite = true;

 

Any suggestion, ideas on how to approach this scenario?

 

thank you so much for your help

 

Elena

 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to