Created
July 11, 2013 07:14
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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