Add MultiPromise for handling multiple promises coherently.
Add MultiPromise for handling multiple promises coherently.

var promise = new MultiPromise([
    System.loadAssetPack(Manifest.build("foo")),
    System.loadAssetPack(Manifest.build("bar")),
    System.loadAssetPack(Manifest.build("baz")),
]);
promise.get(function (results) {
    // Called when all 3 asset packs have finished loading
    var foo :AssetPack = results[0];
    var bar :AssetPack = results[1];
    var baz :AssetPack = results[2];
});

aduros/flambe,markknol/flambe,mikedotalmond/flambe,aduros/flambe,weilitao/flambe,Disar/flambe,weilitao/flambe,playedonline/flambe,markknol/flambe,Disar/flambe,mikedotalmond/flambe,playedonline/flambe,mikedotalmond/flambe,aduros/flambe,playedonline/flambe,playedonline/flambe,weilitao/flambe,mikedotalmond/flambe,markknol/flambe,Disar/flambe,Disar/flambe,weilitao/flambe,aduros/flambe