Lehr, Theodore wrote:
given the following:var msprite:Sprite = new Sprite(); mSprite.graphics.beginFill(0x000000,.1); mSprite.graphics.drawRect(15,337,646,207); mSprite.graphics.endFill(); addChild(mSprite); trace("mSprite.x = "+mSprite.x); I would think that I should be tracing "mSprite.x = 15" instead I get "mSprite = 0" Anyone know why? _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Check out the getBounds method. It will really help you here. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

