Loader is a direct subclass of DispalyObjectContainer.
The only "flex container" that can host non IUIComponent objects is
UIComponent, which is an abstract container.

Instead of using the Loader, use the SWFLoader or Image.
--- In [email protected], "markflex2007" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> 
> I do know why flex 2 doesn't work with the following code
>   
> <mx:Loader  id="loader_1" 
>                 contentPath="http://localhost/guidelines.swf"; />
> 
> other component do the same job?Thanks
> 
> Mark
>


Reply via email to