addChild expects an mx.core.iUIComponent which Bitmap is not. You're data
types are not matching up because you are adding everything to a Canvas.
You'll probably need to write a custom component that contains a public
property to store your bitmap children to.
Jake Churchill
CF Webtools
Flex container children must be IUICOmponents. Bitmap is not. You can make it
a child of a UIComponent or the source to Image if you want.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com
2 matches
Mail list logo