View comments | RSS feed

Using the XML Parser Xtra

The XML Parser Xtra lets Macromedia Director MX 2004 movies read, parse, and use the contents of Extensible Markup Language (XML) documents. Using the XML Parser Xtra requires that you understand the structure and content of the documents you are parsing. You can then access the XML document's contents through Lingo or JavaScript syntax or convert the contents to a script list that is meaningful to you and your movie. After your movie has read an XML document, it can perform actions that you define based on the contents of the document.

For example, an XML document might describe the structure of a molecule for an educational chemistry application. After the movie has parsed the XML that describes the molecule, it can use that information to draw an accurate visual representation of the molecule on the screen. In this case, the movie must be programmed to know ahead of time that the XML document describes a molecule and not a grocery list, in order to make logical use of it.


Comments


SafariTECH said on Jan 24, 2006 at 2:50 PM :
It would appear that XML parsing is not available to Shockwave, especially when using parseURL as the method of retrieving that XML data (the only way an XML file should be used anyway, otherwise it is a waste of time).

The reason for this seems to be due to the fact that INetURL, NetFile and NetLingo are required as well (behind the scenes) as part of this process; and those Xtras do not have the ability to be downloaded as required.

If this is the case , then these help files and Livedocs should reflect what does and does not work between Projectors and Shockwave files.

If there is a way to work around it, I would really appreciate knowing.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/22_using.htm