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 added to the display list already? And its parents?

Cheers,
Claus.



_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to