why bitmap.blt is only working on some image please? i can't find the answer it work on certain image that are in system but only when they are loaded with ImageManager.loadSystem(); but it do not work on almost every bitmap. test code (in new scene start)
Do not work :
var b = Bitmap.load('img/titles1/book.png'); var bt = new Bitmap(800, 600); bt.blt(b, 0, 0, 288, 384, 0, 0); this.sprite = new Sprite(bt); this.addChild(this.sprite);work :
Do not work :
var b = Bitmap.load('img/titles1/book.png'); var bt = new Bitmap(800, 600); bt.blt(b, 0, 0, 288, 384, 0, 0); this.sprite = new Sprite(bt); this.addChild(this.sprite);work :
Code:
var b = ImageManager.loadSystem('Weapons3'); var bt = new Bitmap(800, 600); bt.blt(b, 0, 0, 288, 384, 0, 0); this.sprite = new Sprite(bt); this.addChild(this.sprite);
lol thank again.