Hello,
I'm having problems listening for the DESELECT event. I only have one item added to the transform manager and I'd like to be notified once you click off of it. I'm able to get ROTATE, MOVE, SCALE, etc. to fire. Here is the chunk of code in case I'm missing something obvious.
private function doFileComplete(e:CustomEvent):void {
Common.removeAllChildren(custImgContainer);
custImgContainer.addChild(Bitmap(e.params));
manager.addItem(custImgContainer);
trace(manager.autoDeselect); // is set to true
manager.addEventListener(TransformEvent.DESELECT, onDeselect, false, 0, true);
}
private function onDeselect(e:TransformEvent):void {
trace("in onDeselect");
}
Is there anything special about this event, or is my impression of its use incorrect?
Thanks so much for this awesome tool,
Billy