RE: [flexcoders] cannot convert flash.display::Bitmap to mx.core.IUIComponent.

2009-06-04 Thread Jake Churchill
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

RE: [flexcoders] cannot convert flash.display::Bitmap to mx.core.IUIComponent.

2009-06-04 Thread Alex Harui
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