Return to Snippet

Revision: 51521
at September 27, 2011 18:48 by carlskov


Initial Code
var backGroundSprite:Sprite = new Sprite();
backGroundSprite.graphics.beginBitmapFill( new BgPattern( 0, 0 ) );
backGroundSprite.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
backGroundSprite.graphics.endFill();
addChildAt(backGroundSprite, 0);

Initial URL

                                

Initial Description

                                

Initial Title
AS3 tiled background

Initial Tags

                                

Initial Language
ActionScript 3