Question
How to click a drawing drawn from code(HTML5)
Like what.
I'd like to click on the jiaose pop-up prompt
var jiaose = {
name: "gw",
dh: function() {
var shape = new createjs.Shape(new createjs.Graphics().beginFill("#ff0000").drawRect(5, 5, 50, 50));
this.addChild(shape);
this.on("click", function(){alert("ss----")});
}
};
