the final coordinate of the child would be x=200, y=200.
But, is there anyway that that i cant addChild with only respect to the coordinate of iamchild?
i am doing a multitouch platform application~
so i have to inherit its other propeties~
but i nid to filter its x and y coordinate~
and for your solution,
i am drawing a line in a sprite.
the sprite will can rotate, scale and move~
my line drawing is based on global coordinates~
i gt ur idea, i will try in this direction~
but hopefully got clearer solution for me~
anyway, thanks for reply and ur help~!
Everyone~
i have done it using globaltolocal~
here is an example~
ActionScript Code:
var clickPoint:Point = new Point(e.stageX,e.stageY);
clickPoint=mainextend.globalToLocal(clickPoint); trace("globalToLocalmove123="+mainextend.globalToLocal(clickPoint));
trace("move123 EVENT ID="+e.ID+" x ="+e.stageX+" y ="+e.stageY);
thanks for giving me help~
and the example is ready for the people who in need~