You can use mx.core.Container.rawChildren.addChild to add any DisplayObject
to a Flex container.

On 12/20/07, Jamie S <[EMAIL PROTECTED]> wrote:
>
> I guess i'm thinking specifically of mx.core.Container Objects.
> Although you can use addChild() to add any DisplayObject, unless that
> DisplayObject implements IUIConponent, it wont work.
>
> Jamie
>
> On Dec 20, 2007 7:23 AM, Merrill, Jason <[EMAIL PROTECTED]>
> wrote:
> > >>Also I've found that when trying to add a MovieClip instance
> > >>to a UIComponent in Flex, the whole app just quits. Though
> > >>technically there is nothing wrong with doing this, Flex
> > >>components react badly to display objects that are not
> > >>desensants of UIComponent.
> >
> > Interesting, I haven't encountered that in Flex (yet) - I have added
> > Sprite instances to UIComponent instances with no problems. Knock on
> > wood.
> >
> > Jason Merrill
> > Bank of America
> > L&LD GT&O
> > eTools & Multimedia Research & Development
> >
> >
> >
> >
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Cory Petosky : Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to