Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function (lib, img, cjs) {
- var p; // shortcut to reference prototypes
- // library properties:
- lib.properties = {
- width: 564,
- height: 512,
- fps: 24,
- manifest: []
- };
- // symbols:
- (lib.tile2 = function() {
- this.initialize();
- // Layer 1
- this.shape = new cjs.Shape();
- this.shape.graphics.lf(["#000000","#FFFFFF"],[0,1],0.3,-16.2,0.3,41.8).s().p("AifCgIAAk/IE/AAIAAE/g");
- this.addChild(this.shape);
- }).prototype = p = new cjs.Container();
- p.nominalBounds = new cjs.Rectangle(-16,-16,32,32);
- (lib.tile1 = function() {
- this.initialize();
- // Layer 1
- this.shape = new cjs.Shape();
- //this.shape.graphics.f("#333333").s().p("AifCgIAAk/IE/AAIAAE/g");
- var image = new Image();
- image.src = "images/Bitmap1.jpg";
- this.shape.graphics.beginBitmapFill( image );
- this.addChild(this.shape);
- }).prototype = p = new cjs.Container();
- p.nominalBounds = new cjs.Rectangle(-16,-16,32,32);
- (lib.tile0 = function() {
- this.initialize();
- // Layer 1
- this.shape = new cjs.Shape();
- this.shape.graphics.f("#CCCCCC").s().p("AifCgIAAk/IE/AAIAAE/g");
- this.addChild(this.shape);
- }).prototype = p = new cjs.Container();
- p.nominalBounds = new cjs.Rectangle(-16,-16,32,32);
- })(lib = lib||{}, images = images||{}, createjs = createjs||{});
- var lib, images, createjs;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement