var bitmap = ImageManager.loadBitmap('img/faces/', 'Actor1', 0, true);
bitmap.addLoadListener(function(){
var sprite = new Sprite();
sprite.bitmap = bitmap;
sprite.setFrame(0,0,bitmap.width, bitmap.height);
if(SceneManager._scene)
{
SceneManager._scene.addChild(sprite);
}
});
var bitmap = ImageManager.loadBitmap('img/faces/', 'Actor1', 0, true);
bitmap.addLoadListener(function(){
var sprite = new Sprite();
sprite.bitmap = bitmap;
sprite.setFrame(0,0,bitmap.width, bitmap.height);
if(SceneManager._scene)
{
SceneManager._scene.addChild(sprite);
}
});