RE: [Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-30 Thread Chris Foster
...@chattyfig.figleaf.com] On Behalf Of Ashim D'Silva Sent: Thursday, 30 July 2009 3:38 PM To: Flash Coders List Subject: Re: [Flashcoders] as3 -re-dimensioning spirte but not its children 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

Re: [Flashcoders] as3 -re-dimensioning spirte but not its children

2009-07-29 Thread Ashim D'Silva
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