Skip to content

Instantly share code, notes, and snippets.

@chromeragnarok
Created February 21, 2011 04:28
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 chromeragnarok/836662 to your computer and use it in GitHub Desktop.
Save chromeragnarok/836662 to your computer and use it in GitHub Desktop.
var pageContainer6Loader:Loader = new Loader();
if (pageContainer6.numChildren != 0)
{
var k6:int = pageContainer6.numChildren;
while ( k6 -- )
{
pageContainer6.removeChildAt( k6 );
}
}
pageContainer6.addChild(pageContainer6Loader);
pageContainer6Loader.load(new URLRequest("footprint/footprint.swf"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment