Skip to content

Instantly share code, notes, and snippets.

@whaison
Created July 11, 2013 07:14
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 whaison/5973218 to your computer and use it in GitHub Desktop.
Save whaison/5973218 to your computer and use it in GitHub Desktop.
flump の DemoScreen.as はconectのせいで動作しないaddに書き換えればOK ref: http://qiita.com/whaison/items/0f4d7fc17960885e5132
public function DemoScreen () {
const loader :Future = LibraryLoader.loadBytes(ByteArray(new MASCOT_ZIP()));
// loader.succeeded.connect(onLibraryLoaded);//NG
loader.succeeded.add(onLibraryLoaded);//OK
// loader.failed.connect(function (e :Error) :void { throw e; });//NG
loader.failed.add(function (e :Error) :void { throw e; });OK
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment