mWindow.showOnTaskBar()

Availability

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

Macintosh: Not Applicable

Usage

mWindow.showOnTaskBar() : Void

Parameters

None.

Returns

Nothing.

Description

Method; Shows or hides a task bar button for a child window.

Example

The following example shows the child window on the task bar.

var myFolder = mApplication.getFolder()+"/mWindow.swf";
mWin = mApplication.createWindow(myFolder, 100, 100, "param1 param2 param3", "mWindow Title", "WINDOWLESS", 0xFFFFFF, true);
if (mWin) {
   mWin.setZOrder("STANDARD");
   mApplication.trace("mWindow Child Opened");
   // showOnTaskBar must be called this way and
   // not inside the child window using mApplication.showOnTaskBar
   mWin.showOnTaskBar(true);
}

See Also

mApplication.showOnTaskBar()

Code Examples

mProjector Class Basics -- mWindow