2 Replies Latest reply on Jan 10, 2017 10:00 AM by ClayUUID

    How to paint on laeyr?

    александрб62780587 Level 1

      I created few layers in IDE Animate with some graphic.

      How can I paint Share on one of them layer before other layers?

       

      var mc = new createjs.MovieClip();

      var child1 = new createjs.Shape(new createjs.Graphics().beginFill("#ABC").drawRect(0,0,600,600);

      mc.addChild(child1);

      this.parent.addChild(mc);