# `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

### `static var COMPLETE:String`

event string

## 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`.

### `function removeFromStage():Void`

remove embedded image from the stage