Lehr, Theodore wrote:
I have a mc that has other mc in it... this mc is hard coded on the stage... in the as I have:mc.addEventListener(MouseEvent.MOUSE_DOWN, drag); function drag(e:MouseEvent):void { e.target.startDrag(); } The problem arises that instead of dragging the mc as a whole - it drags each mc in the main mc separately... I just want the whole thing to drag as one - instead it get pulled apart and each mc inside drags on its own.... any ideas?
Don't use the target property then. Events bubble and this one is not for mc, but some content inside it. Use the currentTarget property instead.
_______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

