> "NEVER". Alex, All I meant was it was never going to happen 'automajically' like component children placed inside a container.
As, you just said, of course if you call setActualSize(). :) Mike On Fri, Aug 1, 2008 at 1:48 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > Well, I wouldn't say "NEVER". I can put an Image in a UIComponent and > just have to make sure I call setActualSize on the image. > > Another rule is Flex is that Navigator children must be Containers, > Container children must be IUIComponents, and UIComponent children can be > anything. > > Yet another rule is that UIComponents must be parented by other > UIComponents, unless you do some patching up of things. So parenting an > Image in a Sprite isn't likely to work and I would advise against it unless > you have a good reason and want to do the work of patching up everything > else. > > You can draw those graphics in a UIComponent so I would have grouphandle > subclass UIComponent and not Sprite. > > ------------------------------ > * > * > more by solving the problem then by 'asking the question'.

