[haXe] attachBitmap

Guntur N. Sarwohadi gsarwohadi at gmail.com
Tue Feb 13 05:51:15 CET 2007


I have a lib.swf containing bitmaps with linkage names all setup. I'm trying
to use attachBitmap on a mc but seems like I'm doing things the wrong way.

This is what I did:

var bdTemp:flash.display.BitmapData = Reflect.field(flash.Lib.current,
"someBitmap");
var mcTemp:flash.MovieClip = flash.Lib.current.createEmptyMovieClip("m", 1);
m.attachBitmap(bdTemp, 1);

this shows nothing.. but can compile. this is in flash8 btw. help, please?

thanks,
Guntur N. Sarwohadi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070213/70dfa126/attachment.htm


More information about the Haxe mailing list