Menu.Tray.menuType This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Menu.Tray Class Summary

Availability
Windows

Usage
mdm.Menu.Tray.menuType:String

Parameters
None

Returns
None

Description
Sets the method to use with the tray menus.

The menuType parameter must be either "function", "variable" or "frame".

When "function" is set, the Main.Tray.onTrayMenuClick_* event is fired.

When "variable" is set, a variable of the same name (with the prefix "menu_") is created which is set to "true" when clicked. For example, the menu item "Open", when clicked would set the the variable "menu_Open" to "true".

When "frame" is set, the File menu Item(s) will move the playhead to a frame label of the same name within your movie.

Notes
Write-Only

This property is "function" by default.

If "variable" is selected as the handler method, the developer must reset the value to "false" after a "true" value has been returned.

Example Code
mdm.Menu.Tray.menuType = "function";

mdm.Menu.Tray Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page