ssCore.App.enableFlashTextFieldMenu

Enable or disable the Flash text field context menu, this is the cut/copy/paste menu that appears when you right click on a Flash text field. The Flash text field context menu is enabled by default (see the Defaults tab in the SWF Studio interface).


Availability:

First available in version 3.0 build 2039.


Input Parameters:

flag - A flag that determines whether the Flash text field context menu should be displayed in response to a right click. Valid values include: true and false.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.App.enableFlashTextFieldMenu( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.App.enableFlashTextFieldMenu( paramsObject );


Notes:

By default SWF Studio enables the Flash cut/copy/paste text field menu which means you will not receive onContextMenu notifications in text field while this feature is enabled. If you disable this feature you will be able to use Popup menus on text fields but you will no longer have access to the cut/copy/paste menu that Flash provides.

If you have disabled the this feature but still have the Flash context menu enabled then that menu will be displayed when you right click on a text field.


Examples:

ssCore.App.enableFlashTextFieldMenu({flag:false});