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, Rick Winscot On 6/1/09 4:39 PM, "Stephen More" <stephen.m...@gmail.com> wrote: > > > > > > 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 > > > >>