User Guide
1030 Chapter 2: ActionScript Language Reference
/* output (line breaks added for clarity):
<house>
<kitchen> ceramic tile </kitchen>
<bathroom>linoleum</bathroom>
<foyer />
</house>
*/
If you then change the setting of flooring.ignoreWhite to false, or simply remove that line of
code entirely, the fourteen space characters in the
foyer tag will be preserved:
...
// set the ignoreWhite property to false (default value)
flooring.ignoreWhite = false;
...
/* output (line breaks added for clarity):
<house>
<kitchen> ceramic tile </kitchen>
<bathroom>linoleum</bathroom>
<foyer> </foyer>
</house>
*/
The XML_blogTracker.fla and XML_languagePicker.fla files in the HelpExamples folder also
contain a code example. The following are typical paths to this folder:
• Windows: \Program Files\Macromedia\Flash MX 2004\Samples\HelpExamples\
• Macintosh: HD/Applications/Macromedia Flash MX 2004/Samples/HelpExamples/
•