use the defaultSettings() object to reset an individual flag, ignoreWhitespace, and then reset all the settings to their defaults using setSettings(). : Settings : XML Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » XML » Settings »

 

use the defaultSettings() object to reset an individual flag, ignoreWhitespace, and then reset all the settings to their defaults using setSettings().


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        XML.ignoreWhitespace = XML.defaultSettings().ignoreWhitespace;
        trace(XML.ignoreWhitespace)// Displays: true
        XML.setSettings(XML.defaultSettings());

    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo XML
» Settings