class wmutil.EmbedBitmap extends EventDispatcher
Available on all platforms
EmbedBitmap - embedding bitmaps as resources with Haxe
original code is written by Ben Cantrick (mackys) http://mackys.livejournal.com/923221.html
Class Fields
Instance Fields
function new(s:String, st:DisplayObjectContainer):Void
Constructor.
String s
is a resource name, st
is a Stage where the image is drwan.
See also loadImageFromResource
function.
function loadImageFromResource(s:String, st:DisplayObjectContainer):Void
load image data from resource name s
and show the image on st
.