is there a way to listen to a MouseEvent.CLICK event on an empty MovieClip...
essentially I want to listen to mouse click events on a container thats not the stage to then add objects to it...
basically I want this to work....
I can listen to the stage and get the same functionality... but that somehow feels dirty.Code:var clip = new Sprite() addChild(clip) var container = new Container() clip.addEventListener(MouseEvent.CLICK, clickHandler) function clickHandler(e:MouseEvent) { trace("CLICKED") }




Reply With Quote