When I make a MC and I put another MC inside of it, whenever I write code in the frame of the main stage to use the child MC’s x and y coordinates, I get the child MC’s coordinates in respect to the _parent MC. If what I wrote didnt make any sense, what I mean is that if I make a tank MC named tankBody and a turret MC named tankTurret, and I stick them both in a MC called tank, if I write code that moves the tank MC’s y the tankTurret and tankBody’s y will stay the same. How can I make it so that I can read tankTurret’s y & x coordinates in repect to the main stage?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Getting correct x & y coordinates | 0 | 131 | February 22, 2005 | |
Child _x and _y
|
0 | 107 | May 6, 2007 | |
Coordinates of mc on stage | 0 | 71 | July 22, 2005 | |
How to get global/stage coordinate? | 0 | 102 | December 20, 2008 | |
Help pls hehe _x,_y of a MC in a MC
|
9 | 110 | April 13, 2006 |