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
Public Folders - Can't create recurring appointment, yet has full permissions. Only user to experience error.
Unix Script for getting PID of process if Kernel exceeds 80%
Group Policy Monitor
Merge or compare excel sheets
Calling MS-Dos.exe
help, need recover files on HD, accident format
F.A.S.T. LAN transfer not available
Windows XP Professional - Icons disappear off desktop
CSS display inline problem
onblur=window.close() -- doesn't work on IE6 + PC