You're trying to load a bunch of pixels as a swf or something? On Tue, Jun 17, 2008 at 11:42 AM, flexawesome <[EMAIL PROTECTED]> wrote:
> any suggestions? > > --- In [email protected] <flexcoders%40yahoogroups.com>, > "flexawesome" <[EMAIL PROTECTED]> > wrote: > > > > > Hi there, > > > > I was trying to capture my UI at w:100 , h:100. I got an error msg > of > > > > ----------- > > Error #2044: Unhandled IOErrorEvent:. text=Error #2124: Loaded file > is > > an unknown type. > > ------------ > > > > Any suggestions? Thanks > > > > > > var bitmapData:BitmapData = new BitmapData(100, 100) > > bitmapData = ImageSnapshot.captureBitmapData( UI ); > > var bounds:Rectangle = new Rectangle ( 0 , 0 , 100 ,100 ); > > swfLoader.source = ( bitmapData.getPixels( bounds ) as ByteArray ); > > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

