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
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
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
3 matches
Mail list logo