PDA

View Full Version : Bit of Advice needed for Tutorial @Using XML in Flash CS3/AS3"



danhodkinson
January 30th, 2008, 12:54 PM
on the following Link http://www.kirupa.com/developer/flashcs3/using_xml_as3_pg6.htm
in the section Filtering Attribute Information

Kirupa takes you through filtering by the ISBN number, these results include the XML tags as well could anybody advise me how i would eliminate them in this section:

function ParseBooks(bookInput:XML):void {
trace("XML Output");
trace("------------------------");

var authorList:XMLList = bookInput.Book.(@ISBN == "0743203178");
trace(authorList);
}

i beleive its using the .text(); function but i can't find where to put it.

also, in order to load this information into a dynamic text box do i just replace trace with the destination of my text box?

Thanks
Daniel Hodkinson

danhodkinson
January 31st, 2008, 07:00 PM
anybody got any advice for me?