On Tue, Jun 2, 2009 at 7:52 AM, Stephen More stephen.m...@gmail.com wrote:
The docs do not say much about IBitmapDrawable:
http://livedocs.adobe.com/flex/3/langref/flash/display/IBitmapDrawable.html
In your example lets say I create:
MyUIComponet extends UIComponet
What method do I need
Given this code:
var bitmapData:BitmapData;
bitmapData.draw( IBitmapDrawable( target ) );
What method(s) does target need to implement so that bitmapData will
have valid data in it ?
Can anyone provide an example ?
-Thanks
IBitmapDrawable is implementd by flash.display.DisplayObject... of which
Flex mx.core.UIComponet extends. So... If you want to create something that
you can groggle BitmapData with that¹s a pretty good place to start.
http://livedocs.adobe.com/flex/3/langref/mx/core/UIComponent.html
Cheers,
The docs do not say much about IBitmapDrawable:
http://livedocs.adobe.com/flex/3/langref/flash/display/IBitmapDrawable.html
In your example lets say I create:
MyUIComponet extends UIComponet
What method do I need to write in MyUIComponet such that I can respond
back with an embeded image
4 matches
Mail list logo