[haXe] [Q] copying from a loader object to Bitmap

Michael Norton mnorton at wecare.net
Sun Jul 1 17:07:30 CEST 2007


hi,

I am still playing around with loader and bitmaps to learn the  
workings of HaXe.
Still learning!

I have this scenario that won't compile with HaXe.

var image:Bitmap = Bitmap(_loader.content);

Compiler reports:

Command line: /usr/lib/haxe/haxe build.hxml
src/BHCTextures.hx:20: characters 20-26 : flash.display.#Bitmap  
cannot be called
Build haXe failed.

Any ideas of what I messed up?

thanks.

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070701/ae45c230/attachment.htm


More information about the Haxe mailing list