Skip to content

Instantly share code, notes, and snippets.

@caubry
Last active December 21, 2015 20:58
Show Gist options
  • Select an option

  • Save caubry/6364768 to your computer and use it in GitHub Desktop.

Select an option

Save caubry/6364768 to your computer and use it in GitHub Desktop.
static const LOCATION_XML:String = "/conf/myXML.xml"; // Location of your XML relative to your application
var controller:ConfigLoader = new ConfigLoader( LOCATION_XML, retrieveXML );
protected function retrieveXML( xml:XML ):void
{
// Do something...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment