Thanks!
That got one where I need to go.
--Keith H --


Martin Weiser wrote:
var b=myMC.getBounds(myMC)

left: myMc._x+b.xMin
top:myMC._y+b.yMin

Attetntion on _xscale, _ysclae, getBounds is still the same despite scale different from 100

also useful is localToGlobal, globalToLocal

Martin

----- Original Message ----- From: "keith" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, May 20, 2006 9:21 AM
Subject: [Flashcoders] Using ActionScript to get "left and top" of a MovieClip instead of registration "x,y" like in JSFL


I want to use ActionScript to do this:

I have a MovieClip whose registration is neither centered or at the top-right corner. I want to get the actual "left and top" coordinates of a MovieClip intead of where it's registration mark is at.


Any ideas from anyone?

--Keith H --
_______________________________________________
[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


_______________________________________________
[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

_______________________________________________
[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