Re: [flexcoders] loading image with AS and Loader

2007-04-10 Thread Daniel Freiman
Only UIComponents (or IUIComponents) can be added as a child to Containers. Loader is not a UIComponent and I assume this is the Application and thus a Container. You're either going to need to add the Loader to a UIComponent and add that component to the application, or you can use

RE: [flexcoders] loading image with AS and Loader

2007-04-10 Thread Gordon Smith
What doc was this in? It won't work if 'this' is a Flex Container, because a Container expects that its children are IUIComponents. If you're putting an image into a Flex Container, you should be using a Flex Image control, not a low-level Flash Loader. - Gordon