logo.
home. utilities. download. about. contact.
   

Macromedia

Northcode

Moock.org

Flashkit

Flashcoders Wiki

Actionscript.org

Ultrashock

Mike Chambers

Flash Magazine

This site is
sponsored by:

www.northcode.com

 

 

 

 

 


Topmost.
Move application window to top of z-order  

The opposite of BOTTOM, TOPMOST sends any open application window on top of all other open application windows from a Flash projector. TOPMOST moves any window that contains a specified 'keyword' in the caption to the top of the z-order.

usage: topmost.exe pattern

If you call TOPMOST without specifying a value for the pattern argument, nothing will happen. If you supply a value for the pattern, any window that contains the pattern in its caption will be moved to the top of the z-order. Case is not important but spaces are significant.

This actionScript command fscommand("EXEC", "topmost.exe" + chr(9) + "Flash"); will move any window that contains "Flash" in the caption to the top of the z-order.

  • IIf you use the old Flash trick of using tabs in place of spaces, TOPMOST will look for tabs in the caption (exact match) and will probably fail to find the window.

  • Flash 5 will allow you use a tab between the application name and the pattern.

  • Flash MX does not allow spaces in the argument to the EXEC actionScript command. This means that the TOPMOST utility can't be called directly from Flash MX.

  • In a batch file the pattern can contain spaces which provides a workaround for Flash 5 limitations and makes it possible to use TOPMOST from Flash MX projectors.

  • If you're working with SWF Studio you can use spaces in the pattern argument so you can use TOPMOST to affect other windows. If you want to change the z-order of your own window, use the SWF Studio TOPMOST fscommand instead.