mApplication.useAsToolbar()

Availability

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

Macintosh: Not Applicable

Usage

mApplication.useAsToolbar(edge:Enumeration, size:Number) : Void

Parameters

edge - one of the following string values:

size - Toolbar size. This is either the height or the width depending on the toolbar's orientation.

Returns

Nothing.

Description

Method; Reserves toolbar space at one of the desktop edges. This method will only reserve the space, while the actual positioning of the toolbar application should be done with the mWindow.setPosition() method.

Example

The following example reserves space for a 60 pixel wide toolbar at the right edge of the desktop.

mApplication.useAsToolbar("RIGHT",60);