Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 9.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The CommandType class provides values for the
ICommand
interface.
public static const CONTEXT_MENU:String = contextMenu
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 9.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ICommand
value to display a context menu
based on the specified attachment.
The parameters to ICommand
methods are as follows:
Method | Parameter |
---|
appliesTo | null |
execute | [x, y] |
See also
public static const EDIT_NATIVE:String = editInNativeApp
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ICommand
value to open an attachment in its native appication.
The parameters to ICommand
methods are as follows:
Method | Parameter |
---|
appliesTo | A single IAttachment instance, or an Array of IAttachment instances
(in which case only the first element will be used).
It will return false for all other types. |
execute | The same type as used in appliesTo . |
See also
public static const EXTRACT_FILES:String = extractFile
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ICommand
value to export one or more attachments to
a file or files.
The parameters to ICommand
methods are as follows:
Method | Parameter |
---|
appliesTo | An Array of IAttachment instances.
It will return false for all other types. |
execute | The same type as used in appliesTo . |
See also
public static const PREVIEW:String = preview
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 9.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The ICommand
value to preview an attachment.
The attachment must already be selected (in INavigatorHost.selection
)
in order to be opened for preview.
The parameters to ICommand
methods are as follows:
Method | Parameter |
---|
appliesTo | A single IAttachment instance, or an Array of IAttachment instances
(in which case only the first element will be used).
It will return false for all other types. |
execute | The same type as used in appliesTo . |
See also
Fri Apr 15 2011, 11:10 AM -07:00