Is there a way to have a child sprite reference the parent sprite when seeting 
it's x and y.... say I have a Sprite:

var bgDad:Sprite = new Sprite();

then I add a child:


var bgSon:Sprite = new Sprite();
bgSon.graphics.lineStyle(1,0x000000);
bgSon.graphics.moveTo(0,0);
bgSon.graphics.lineTo(100,100);

bgdad.addChild(bgSon);


I would like those coordinates [0,0 and 100,100] to be in relations to bgDad - 
not the stage... is this possible?



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to