> I got a class that extends Sprite that I want to put into a Flex > DisplayObject container (Canvas or any similar custom made component). My > question is: > Is implementing the IUIComponent interface the only way to get this working > or > Are there any other ways around it? A SWFLoader is not what can use in this > situation. Any hints would be appreciated.
You can place them on <mx:Image> <mx:Canvas id="myCanvas" width="100%" height="100%" > mx:Image id="spritelayer" x="0" y="0" scaleContent="false" autoLoad="true" /> </mx:Canvas> then in as: spriteLayer.addChild(mysprite); etc. works for me br maciek