Microsoft
Software
Hardware
Network
Question : Get the position of a MovieClip with respect to the stage
If I have a MovieClip called square_mc and that Movieclip has a child called circle_mc and that MovieClip has a child called ball_mc how could I get the x and y cordinates of ball_mc with respect to the stage? do I always have to write: "square_mc.cirecle_mc.ball
_mc.x+circ
le_mc.x+sq
uare_mc.x"
is there a shorter way of doing this?
Answer : Get the position of a MovieClip with respect to the stage
you can always use localToGlobal and globalToLocal... this should do the trick...
L2G =
http://livedocs.adobe.com/
flash/9.0/
main/wwhel
p/wwhimpl/
common/htm
l/wwhelp.h
tm?context
=LiveDocs_
Parts&
file
=00001936.
html
or
http://www.actionscript.or
g/forums/s
howthread.
php3?t=157
782
G2L =
http://flashmove.com/forum
/archive/i
ndex.php/t
-7715.html
rp / ZA
Random Solutions
Moving mail store on Exchange 2003 SP2 cluster
Transferring 'MyFavorites"
SQL Scheduled task problem
Intermit problems: Windows Explorer looks weird and new tasks won't start
Windows Mobile Smartphones and Outlook Setup
Folder ACL report
NewsGroup Free Header Search (with outlook possibly???)
MDAEMON with SPAMSOAP SERVICE
Search Engine Optimization (HOW TO)
Windows licensing logging service