LimeJS Custom Sprite Swallowing events

Viewed 618

I made a custom Lime JS sprite class by doing:

test.obj = function() {
  lime.Sprite.call(this);
  .
  .
  this.label = new lime.Label(). ...;
  this.appendChild(this.label);
}
goog.inherits(test.obj, lime.Sprite);

I'm unable to get the label click to bubble up to the root program; it always swallows the events. Is there something special you have to do to get a click on the label to bubble up to my root event handler, which is:

goog.events.listen(objinstance, ["click", "touchstart"], function() { .. });
1 Answers
Related