I'd say extend a new class from Sprite, and override the getters and setters for width and height, and scaleX and scaleY if you need them.
However, if you don't want to do that, make two sprites inside your sprite. One with things you want to change and one width those you don't. Then just resize the sprite that you want to. Ashim The Random Lines My online portfolio www.therandomlines.com 2009/7/30 Isaac Alves <[email protected]>: > Hi list, > > Is it possible to alter the width or height of a sprite dynamically without > altering the width and height of its children ? > > Even when I add children to a Sprite that had its dimensions altered > dynamically, these children have their dimensions changed. > > Could I do something like "sprite.resetScaleXandY" ? > > What do you suggest in this kind of situation? > > Thanks in advance, > Isaac > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

