/* output (line breaks added for clarity):
<house>
<kitchen>
<bathroom>linoleum</bathroom>
<foyer />
</house>
*/
If you then change the setting of
code entirely, the fourteen space characters in the
...
// set the ignoreWhite property to false (default value)
flooring.ignoreWhite = false;
...
/* output (line breaks added for clarity):
<house>
<kitchen>
<bathroom>linoleum</bathroom>
<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/
•
1030
Chapter 2: ActionScript Language Reference
ceramic tile
</kitchen>
flooring.ignoreWhite
ceramic tile
</kitchen>
</foyer>
to
, or simply remove that line of
false
tag will be preserved:
foyer