mApplication.loadBitmap()

Availability

Windows: Flash 8 or 9 AS2.0 SWF + mProjector 3.0; Windows 98/ME/NT Support: Flash 7 SWF + mProjector 2.0;

Macintosh: Not Yet Available

Usage

mApplication.loadBitmap(fileName:String, target:Object) : Void

Parameters

fileName - Name (including the path) of the bitmap file.

target - A path to a target movie clip. The target movie clip will be replaced by the loaded bitmap.

Returns

Nothing.

Description

Method; Loads a bitmap from a .bmp file into a movie clip.

Example

The following example loads a bitmap.

mApplication.loadBitmap(mApplication.getFolder()+"/bitmap.bmp",_root.capture);

See Also

mSystem.loadIcon()