User Guide

334 Working with XML
Extracting the title of the RSS feed and sending a
custom event
The xmlLoaded() method sets a rssTitle string variable, based on information in the source
RSS XML data:
rssTitle = rssXML.channel.title.toString();
Finally, the xmlLoaded() method generates an event, which notifies the application that the
data is parsed and available:
dataWritten = new Event("dataWritten", true);