var mySpriteSheetImage = PIXI.BaseTexture.fromImage("img/mySpriteSheet.png");
var spriteTexture1 = new PIXI.Texture(mySpriteSheetImage, new PIXI.Rectangle(x:0, y:0, width:32, height:32));
var spriteTexture2 = new PIXI.Texture(mySpriteSheetImage, new PIXI.Rectangle(x:32, y:0, width:32, height:32));
var spriteTexture3 = new PIXI.Texture(mySpriteSheetImage, new PIXI.Rectangle(x:64, y:0, width:32, height:32));
var mySprite = new PIXI.Sprite(spriteTexture1);
stage.addChild(mySprite);
The cod