diff --git a/docs/classes/Sprite.html b/docs/classes/Sprite.html index 0626721..d4fc2dd 100644 --- a/docs/classes/Sprite.html +++ b/docs/classes/Sprite.html @@ -308,7 +308,7 @@

The texture for this sprite

A sprite can be created directly from an image like this : -var sprite = nex PIXI.Sprite.FromImage('assets/image.png'); +var sprite = nex PIXI.Sprite.fromImage('assets/image.png'); yourStage.addChild(sprite); then obviously don't forget to add it to the stage you have already created