Skip to content

Instantly share code, notes, and snippets.

@FrankNine
Created October 29, 2012 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FrankNine/3971671 to your computer and use it in GitHub Desktop.
Save FrankNine/3971671 to your computer and use it in GitHub Desktop.
function getXMLConfig() : XML
{
var conf = new Config()
var ba:ByteArrayAsset = ByteArrayAsset( conf );
var xml:XML = new XML( ba.readUTFBytes( ba.length ) );
return xml;
}
function create_gallery(e:Event):void
{
flashmo_xml = getXMLConfig();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment