, February 23, 2010 4:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Using parent Sprites coordinates
Lehr, Theodore wrote:
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:
You must have missed localToGlobal
...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [
he...@henke37.cjb.net]
Sent: Tuesday, February 23, 2010 4:03 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Using parent Sprites coordinates
Lehr, Theodore wrote:
Is there a way to have a child sprite reference the parent sprite when
seeting
: [Flashcoders] Using parent Sprites coordinates
Lehr, Theodore wrote:
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:
You must have missed localToGlobal and globalToLocal
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,0x00);
bgSon.graphics.moveTo(0,0);
Lehr, Theodore wrote:
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:
You must have missed localToGlobal and globalToLocal.
___
Flashcoders mailing list
5 matches
Mail list logo