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. &g

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

[Flashcoders] stageHeight issues AS3

2007-03-08 Thread {reduxdj}
I've been having issues with trying to get stageHeight from every sprite. Getting the height is a hit or miss thing for me. 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. And