Hi, > Or do you mean Image is a Flex component and not good to > add to a custom sprite?
Yes that's what I meant. By "non-Flex" I meant an object that is not part of the mx.* package, i.e. not part of the Flex Framework. A Sprite is a native Flash object and doesn't "know" how to display or size a Flex object. -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com ----- Original Message ---- From: Jason <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, August 1, 2008 6:49:50 PM Subject: [flexcoders] Re: problem adding images to UIComponents using AS3 Thanks, I'll try that, but what is the "non-Flex" object you're referring to? My Sprite classes? If so, it's the other way around, I'm adding them to a Flex container. If you mean the custom MXML components, then no, I'm adding them to a Flex component, not the other way around. Or do you mean Image is a Flex component and not good to add to a custom sprite? If so, that's an odd limitation, but sounds faesible since this bug isn't making any sense to me anyway.