Just use localToGlobal to convert the coordinates from
one space to another, then position the root movieclip
before you call startDrag().

--- [EMAIL PROTECTED] wrote:

> Hi
> I have a nested MovieClip with an onPress handler.
> OnPress I create a mirror copy of this nested
> MovieClip but in _root and initiate a
> StartDrag(false) on this MovieClip.
> 
> The problem is this mc ( in _root ) is offset from
> the Mouse position by the x,y coordinates of the
> nested MovieClip.
> 
> How can I update the x,y coordinates of the _root mc
> so that it 
> 
> 1-initially mimics the exact position of the nested
> MC
> and
> 2-follows the mouse using StartDrag
> 
> 
> Hope this makes sense...I'm wondering if I should
> even try simulating a StartDrag using Mouse
> listeners and converting local to global
> coordinates.
> 
> Any help appreciated.
> 
> 
> 
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> --------------------------------------------
> "...all improvisation is life in search of a style."
>              - Bruce Mau,'LifeStyle'
> _______________________________________________
> [email protected]
> To change your subscription options or search the
> archive:
>
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
> 



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to