> extend mx.core.IUIComponent,

A DisplayObject dosn't have to extend UIComponent it just has to implement the IUIComponent interface which ProgrammaticSkin does.

ProgrammaticSkin is a Shape/FlexShape subclass.

Peace, Mike

On 8/11/06, dadrobson <[EMAIL PROTECTED]> wrote:

Sprite doesn't extend mx.core.IUIComponent, and so you can't use it as
a parameter in the addChild() method of the Panel class. Instead of
using Sprite, try Canvas instead.

HTH
Jim




--
What goes up, does come down. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to