2 Replies Latest reply on Nov 11, 2008 8:07 AM by Gregory Lafrance

    how to add sprite component to application

      In my application i am using a custom component which extends Sprite class. I am adding this component to application as <local:mySprite width="500" height="300" /> but it is showing following error on application run;

      Type Coercion failed: cannot convert mySprite@129be5e1 to mx.core.IUIComponent.

      How should i overcome this problem, if any suggestion please reply.

      Thank you.