Re: [Flashcoders] stageHeight issues AS3

2007-03-08 Thread {reduxdj}
Of course. Thanks, Patrickk Claus Wahlers wrote: var _sprite:Sprite = new Sprite(); addChild(_sprite) trace (_sprite.stage.stageHeight) give me null object reference... even after it's been added to the display. Are you sure that the DisplayObjectContainer the above code resides in is ad

Re: [Flashcoders] stageHeight issues AS3

2007-03-08 Thread Muzak
Please don't cross-post. - Original Message - From: "{reduxdj}" <[EMAIL PROTECTED]> To: Sent: Thursday, March 08, 2007 5:06 PM Subject: [Flashcoders] stageHeight issues AS3 > I've been having issues with trying to get stageHeight from every sprite. > Getting the > height is a hit o

Re: [Flashcoders] stageHeight issues AS3

2007-03-08 Thread Claus Wahlers
var _sprite:Sprite = new Sprite(); addChild(_sprite) trace (_sprite.stage.stageHeight) give me null object reference... even after it's been added to the display. Are you sure that the DisplayObjectContainer the above code resides in is added to the display list already? And its parents? C