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.
--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
_______________________________________________
[email protected]
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