mc.mouseChildren = false;

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Lehr,
Theodore
Sent: donderdag 5 augustus 2010 15:14
To: Flash Coders List
Subject: [Flashcoders] drag issues

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?

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Geen virus gevonden in het binnenkomende-bericht.
Gecontroleerd door AVG - www.avg.com 
Versie: 9.0.851 / Virusdatabase: 271.1.1/3049 - datum van uitgifte: 08/04/10
17:07:00

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to