Package | com.adobe.icc.editors.events |
Class | public class AssetEvent |
Inheritance | AssetEvent FlexEvent Event Object |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
This event is dispatched by various asset domain classes to signify events related to operations being carried out on them. For example, the class LetterModel dispatches an event of this type when it is saved. The event can be leveraged to show certain cues on the UI accordingly.
Property | Defined By | ||
---|---|---|---|
bubbles : Boolean [read-only]
Indicates whether an event is a bubbling event. | Event | ||
cancelable : Boolean [read-only]
Indicates whether the behavior associated with the event can be prevented. | Event | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
currentTarget : Object [read-only]
The object that is actively processing the Event object with an event listener. | Event | ||
eventPhase : uint [read-only]
The current phase in the event flow. | Event | ||
fault : Fault
The fault object encapsulating the error sent by the server. | AssetEvent | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
target : Object [read-only]
The event target. | Event | ||
type : String [read-only]
The type of event. | Event |
Method | Defined By | ||
---|---|---|---|
Constructor. | AssetEvent | ||
Duplicates an instance of an Event subclass. | Event | ||
A utility function for implementing the toString() method in custom
ActionScript 3.0 Event classes. | Event | ||
Indicates whether an object has a specified property defined. | Object | ||
Checks whether the preventDefault() method has been called on the event. | Event | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Cancels an event's default behavior if that behavior can be canceled. | Event | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Prevents processing of any event listeners in the current node and any subsequent nodes in
the event flow. | Event | ||
Prevents processing of any event listeners in nodes subsequent to the current node in the
event flow. | Event | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns a string containing all the properties of the Event object. | Event | ||
Returns the primitive value of the specified object. | Object |
Constant | Defined By | ||
---|---|---|---|
ACTIVATE : String = "activate" [static]
The ACTIVATE constant defines the value of the type property of an activate event object. | Event | ||
ADD : String = "add" [static]
The FlexEvent.ADD constant defines the value of the
type property of the event object for an add event. | FlexEvent | ||
ADDED : String = "added" [static]
The Event.ADDED constant defines the value of the type property of
an added event object. | Event | ||
ADDED_TO_STAGE : String = "addedToStage" [static]
The Event.ADDED_TO_STAGE constant defines the value of the type
property of an addedToStage event object. | Event | ||
ADD_FOCUS_MANAGER : String = "addFocusManager" [static]
The FlexEvent.ADD_FOCUS_MANAGER constant defines the value of the
type property of the event object for an addFocusManager event. | FlexEvent | ||
APPLICATION_COMPLETE : String = "applicationComplete" [static]
The FlexEvent.APPLICATION_COMPLETE constant defines the value of the
type property of the event object for a applicationComplete event. | FlexEvent | ||
BACK_KEY_PRESSED : String = "backKeyPressed" [static]
The FlexEvent.BACK_KEY_PRESSED constant defines the value of the
type property of the event object for a backKeyPressed event. | FlexEvent | ||
BUTTON_DOWN : String = "buttonDown" [static]
The FlexEvent.BUTTON_DOWN constant defines the value of the
type property of the event object for a buttonDown event. | FlexEvent | ||
CANCEL : String = "cancel" [static]
The Event.CANCEL constant defines the value of the type property of a cancel event object. | Event | ||
CHANGE : String = "change" [static]
The Event.CHANGE constant defines the value of the type property of a change event object. | Event | ||
CHANGE_END : String = "changeEnd" [static]
The FlexEvent.CHANGE_END constant defines the value of the
type property of the event object for a changeEnd event. | FlexEvent | ||
CHANGE_START : String = "changeStart" [static]
The FlexEvent.CHANGE_START constant defines the value of the
type property of the event object for a changeStart event. | FlexEvent | ||
CHANGING : String = "changing" [static]
The FlexEvent.CHANGING constant defines the value of the
type property of the event object for a changing event. | FlexEvent | ||
CLEAR : String = "clear" [static]
The Event.CLEAR constant defines the value of the type property
of a clear event object. | Event | ||
CLOSE : String = "close" [static]
The Event.CLOSE constant defines the value of the type property of a close event object. | Event | ||
CLOSING : String = "closing" [static]
The Event.CLOSING constant defines the value of the
type property of a closing event object. | Event | ||
COMPLETE : String = "complete" [static]
The Event.COMPLETE constant defines the value of the type property of a complete event object. | Event | ||
CONNECT : String = "connect" [static]
The Event.CONNECT constant defines the value of the type property of a connect event object. | Event | ||
CONTENT_CREATION_COMPLETE : String = "contentCreationComplete" [static]
The FlexEvent.CONTENT_CREATION_COMPLETE constant defines the value of the
type property of the event object for a contentCreationComplete event. | FlexEvent | ||
CONTEXT3D_CREATE : String = "context3DCreate" [static]
The Event.CONTEXT3D_CREATE constant defines the value of the type
property of a context3Dcreate event object. | Event | ||
COPY : String = "copy" [static]
Defines the value of the type property of a copy event object. | Event | ||
CREATION_COMPLETE : String = "creationComplete" [static]
The FlexEvent.CREATION_COMPLETE constant defines the value of the
type property of the event object for a creationComplete event. | FlexEvent | ||
CURSOR_UPDATE : String = "cursorUpdate" [static]
The FlexEvent.CURSOR_UPDATE constant defines the value of the
type property of the event object for a cursorUpdate event. | FlexEvent | ||
CUT : String = "cut" [static]
Defines the value of the type property of a cut event object. | Event | ||
DATA_CHANGE : String = "dataChange" [static]
The FlexEvent.DATA_CHANGE constant defines the value of the
type property of the event object for a dataChange event. | FlexEvent | ||
DEACTIVATE : String = "deactivate" [static]
The Event.DEACTIVATE constant defines the value of the type property of a deactivate event object. | Event | ||
DISPLAYING : String = "displaying" [static]
The Event.DISPLAYING constant defines the value of the type property of a displaying event object. | Event | ||
ENTER : String = "enter" [static]
The FlexEvent.ENTER constant defines the value of the
type property of the event object for a enter event. | FlexEvent | ||
ENTER_FRAME : String = "flexEventEnterFrame" [static]
The FlexEvent.ENTER_FRAME constant defines the value of the
type property of the event object for an Event.ENTER_FRAMER event. | FlexEvent | ||
ENTER_STATE : String = "enterState" [static]
The FlexEvent.ENTER_STATE constant defines the value of the
type property of the event object for a enterState event. | FlexEvent | ||
EXIT_FRAME : String = "exitFrame" [static]
The Event.EXIT_FRAME constant defines the value of the type property of an exitFrame event object. | Event | ||
EXITING : String = "exiting" [static]
The Event.EXITING constant defines the value of the type property of an exiting event object. | Event | ||
EXIT_STATE : String = "exitState" [static]
The FlexEvent.EXIT_STATE constant defines the value of the
type property of the event object for a exitState event. | FlexEvent | ||
FLEX_WINDOW_ACTIVATE : String = "flexWindowActivate" [static]
The FlexEvent.FLEX_WINDOW_ACTIVATE constant defines the value of the
type property of the event object for a flexWindowActivate
event. | FlexEvent | ||
FLEX_WINDOW_DEACTIVATE : String = "flexWindowDeactivate" [static]
The FlexEvent.FLEX_WINDOW_DEACTIVATE constant defines the value of the
type property of the event object for a flexWindowDeactivate
event. | FlexEvent | ||
FRAME_CONSTRUCTED : String = "frameConstructed" [static]
The Event.FRAME_CONSTRUCTED constant defines the value of the type property of an frameConstructed event object. | Event | ||
FULLSCREEN : String = "fullScreen" [static]
The Event.FULL_SCREEN constant defines the value of the type property of a fullScreen event object. | Event | ||
HIDE : String = "hide" [static]
The FlexEvent.HIDE constant defines the value of the
type property of the event object for a hide event. | FlexEvent | ||
HTML_BOUNDS_CHANGE : String = "htmlBoundsChange" [static]
The Event.HTML_BOUNDS_CHANGE constant defines the value of the type property of an htmlBoundsChange event object. | Event | ||
HTML_DOM_INITIALIZE : String = "htmlDOMInitialize" [static]
The Event.HTML_DOM_INITIALIZE constant defines the value of the type property
of an htmlDOMInitialize event object. | Event | ||
HTML_RENDER : String = "htmlRender" [static]
The Event.HTML_RENDER constant defines the value of the type property of an htmlRender event object. | Event | ||
ID3 : String = "id3" [static]
The Event.ID3 constant defines the value of the type property of an id3 event object. | Event | ||
IDLE : String = "idle" [static]
The FlexEvent.IDLE constant defines the value of the
type property of the event object for a idle event. | FlexEvent | ||
INIT : String = "init" [static]
The Event.INIT constant defines the value of the type property of an init event object. | Event | ||
INIT_COMPLETE : String = "initComplete" [static]
Dispatched when a Flex application finishes initialization. | FlexEvent | ||
INITIALIZE : String = "initialize" [static]
The FlexEvent.INITIALIZE constant defines the value of the
type property of the event object for a initialize event. | FlexEvent | ||
INIT_PROGRESS : String = "initProgress" [static]
Dispatched when the Flex application completes an initialization phase,
as defined by calls to the measure(), commitProperties(),
or updateDisplayList() methods. | FlexEvent | ||
INVALID : String = "invalid" [static]
The FlexEvent.INVALID constant defines the value of the
type property of the event object for a invalid event. | FlexEvent | ||
LOADING : String = "loading" [static]
The FlexEvent.LOADING constant defines the value of the
type property of the event object for a loading event. | FlexEvent | ||
LOCATION_CHANGE : String = "locationChange" [static]
The Event.LOCATION_CHANGE constant defines the value of the type property of a locationChange event object. | Event | ||
MENU_KEY_PRESSED : String = "menuKeyPressed" [static]
The FlexEvent.MENU_KEY_PRESSED constant defines the value of the
type property of the event object for a menuKeyPressed event. | FlexEvent | ||
MOUSE_LEAVE : String = "mouseLeave" [static]
The Event.MOUSE_LEAVE constant defines the value of the type property of a mouseLeave event object. | Event | ||
MUTED_CHANGE : String = "mutedChange" [static]
The FlexEvent.MUTED_CHANGE constant defines the value of the
type property of the event object for a mutedChange event. | FlexEvent | ||
NAVIGATOR_STATE_LOADING : String = "navigatorStateLoading" [static]
The FlexEvent.NAVIGATOR_STATE_LOADING constant defines the value of the
type property of the event object for a navigatorStateLoading event. | FlexEvent | ||
NAVIGATOR_STATE_SAVING : String = "navigatorStateSaving" [static]
The FlexEvent.NAVIGATOR_STATE_SAVING constant defines the value of the
type property of the event object for a navigatorStateSaving event. | FlexEvent | ||
NETWORK_CHANGE : String = "networkChange" [static]
The Event.NETWORK_CHANGE constant defines the value of the type property of a networkChange event object. | Event | ||
OPEN : String = "open" [static]
The Event.OPEN constant defines the value of the type property of an open event object. | Event | ||
PASTE : String = "paste" [static]
The Event.PASTE constant defines the value of the type property of a paste event object. | Event | ||
PREINITIALIZE : String = "preinitialize" [static]
The FlexEvent.PREINITIALIZE constant defines the value of the
type property of the event object for a preinitialize event. | FlexEvent | ||
PREPARING : String = "preparing" [static]
The Event.PREPARING constant defines the value of the type property of a preparing event object. | Event | ||
READY : String = "ready" [static]
The FlexEvent.READY constant defines the value of the
type property of the event object for a ready
event. | FlexEvent | ||
REMOVE : String = "remove" [static]
The FlexEvent.REMOVE constant defines the value of the
type property of the event object for an remove event. | FlexEvent | ||
REMOVED : String = "removed" [static]
The Event.REMOVED constant defines the value of the type property of
a removed event object. | Event | ||
REMOVED_FROM_STAGE : String = "removedFromStage" [static]
The Event.REMOVED_FROM_STAGE constant defines the value of the type
property of a removedFromStage event object. | Event | ||
RENDER : String = "flexEventRender" [static]
The FlexEvent.RENDER constant defines the value of the
type property of the event object for an Event.RENDER event. | FlexEvent | ||
REPEAT : String = "repeat" [static]
The FlexEvent.REPEAT constant defines the value of the
type property of the event object for a repeat event. | FlexEvent | ||
REPEAT_END : String = "repeatEnd" [static]
The FlexEvent.REPEAT_END constant defines the value of the
type property of the event object for a repeatEnd event. | FlexEvent | ||
REPEAT_START : String = "repeatStart" [static]
The FlexEvent.REPEAT_START constant defines the value of the
type property of the event object for a repeatStart event. | FlexEvent | ||
RESIZE : String = "resize" [static]
The Event.RESIZE constant defines the value of the type property of a resize event object. | Event | ||
SAVE_COMPLETE : String = "saveComplete" [static]
The AssetEvent.SAVE_COMPLETE constant defines the value of the
type property of the event object for a saveComplete event. | AssetEvent | ||
SAVE_FAULT : String = "saveFault" [static]
The AssetEvent.SAVE_FAULT constant defines the value of the
type property of the event object for a saveFault event. | AssetEvent | ||
SAVING : String = "saving" [static]
The AssetEvent.SAVING constant defines the value of the
type property of the event object for a saving event. | AssetEvent | ||
SCROLL : String = "scroll" [static]
The Event.SCROLL constant defines the value of the type property of a scroll event object. | Event | ||
SELECT : String = "select" [static]
The Event.SELECT constant defines the value of the type property of a select event object. | Event | ||
SELECT_ALL : String = "selectAll" [static]
The Event.SELECT_ALL constant defines the value of the type property of a selectAll event object. | Event | ||
SELECTION_CHANGE : String = "selectionChange" [static]
The FlexEvent.SELECTION_CHANGE constant defines the value of the
type property of the event object for a selectionChange event. | FlexEvent | ||
SHOW : String = "show" [static]
The FlexEvent.SHOW constant defines the value of the
type property of the event object for a show event. | FlexEvent | ||
SOUND_COMPLETE : String = "soundComplete" [static]
The Event.SOUND_COMPLETE constant defines the value of the type property of a soundComplete event object. | Event | ||
STANDARD_ERROR_CLOSE : String = "standardErrorClose" [static]
The Event.STANDARD_ERROR_CLOSE constant defines the value of the type property of a standardErrorClose event object. | Event | ||
STANDARD_INPUT_CLOSE : String = "standardInputClose" [static]
The Event.STANDARD_INPUT_CLOSE constant defines the value of the type property of a standardInputClose event object. | Event | ||
STANDARD_OUTPUT_CLOSE : String = "standardOutputClose" [static]
The Event.STANDARD_OUTPUT_CLOSE constant defines the value of the type property of a standardOutputClose event object. | Event | ||
STATE_CHANGE_COMPLETE : String = "stateChangeComplete" [static]
The FlexEvent.STATE_CHANGE_COMPLETE constant defines the value of the
type property of the event object for a stateChangeComplete event. | FlexEvent | ||
STATE_CHANGE_INTERRUPTED : String = "stateChangeInterrupted" [static]
The FlexEvent.STATE_CHANGE_INTERRUPTED constant defines the value of the
type property of the event object for a stateChangeInterrupted event. | FlexEvent | ||
TAB_CHILDREN_CHANGE : String = "tabChildrenChange" [static]
The Event.TAB_CHILDREN_CHANGE constant defines the value of the type property of a tabChildrenChange event object. | Event | ||
TAB_ENABLED_CHANGE : String = "tabEnabledChange" [static]
The Event.TAB_ENABLED_CHANGE constant defines the value of the type
property of a tabEnabledChange event object. | Event | ||
TAB_INDEX_CHANGE : String = "tabIndexChange" [static]
The Event.TAB_INDEX_CHANGE constant defines the value of the
type property of a tabIndexChange event object. | Event | ||
TEXT_INTERACTION_MODE_CHANGE : String = "textInteractionModeChange" [static]
The Event.TEXT_INTERACTION_MODE_CHANGE constant defines the value of the type property of an interaction mode event object. | Event | ||
TRANSFORM_CHANGE : String = "transformChange" [static]
The FlexEvent.TRANSFORM_CHANGE constant defines the value of the
type property of the event object for a transformChange event. | FlexEvent | ||
TRANSITION_END : String = "transitionEnd" [static]
The FlexEvent.TRANSITION_END constant defines the value of the
type property of the event object for a transitionEnd event. | FlexEvent | ||
TRANSITION_START : String = "transitionStart" [static]
The FlexEvent.TRANSITION_START constant defines the value of the
type property of the event object for a transitionStart event. | FlexEvent | ||
UNLOAD : String = "unload" [static]
The Event.UNLOAD constant defines the value of the type property of an unload event object. | Event | ||
UPDATE_COMPLETE : String = "updateComplete" [static]
The FlexEvent.UPDATE_COMPLETE constant defines the value of the
type property of the event object for a updateComplete event. | FlexEvent | ||
URL_CHANGED : String = "urlChanged" [static]
The FlexEvent.URL_CHANGED constant defines the value of the
type property of the event object for a urlChanged event. | FlexEvent | ||
USER_IDLE : String = "userIdle" [static]
The Event.USER_IDLE constant defines the value of the type property of a userIdle event object. | Event | ||
USER_PRESENT : String = "userPresent" [static]
The Event.USER_PRESENT constant defines the value of the type property of a userPresent event object. | Event | ||
VALID : String = "valid" [static]
The FlexEvent.VALID constant defines the value of the
type property of the event object for a valid event. | FlexEvent | ||
VALUE_COMMIT : String = "valueCommit" [static]
The FlexEvent.VALUE_COMMIT constant defines the value of the
type property of the event object for a valueCommit
event. | FlexEvent |
fault | property |
public var fault:Fault
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The fault object encapsulating the error sent by the server. This property
is applicable only if the event type is saveFault
.
In case of other events, this property remains null and should be ignored.
AssetEvent | () | Constructor |
public function AssetEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, fault:Fault = null)
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parameterstype:String — The event type; indicates the action that caused the event.
| |
bubbles:Boolean (default = true ) — Specifies whether the event can bubble up
the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior
associated with the event can be prevented.
| |
fault:Fault (default = null ) — The fault object related to the error sent by the server.
This is applicable only in case of the event type saveFault
|
SAVE_COMPLETE | Constant |
public static const SAVE_COMPLETE:String = "saveComplete"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The AssetEvent.SAVE_COMPLETE
constant defines the value of the
type
property of the event object for a saveComplete
event.
The saveComplete
event is dispatched when the domain object has been
successfully saved on the server. Unlike the saving
event, this is dispatched
in an aysnchronous manner only after the server has responded with a result for the save api
call.
This event can be used to stop UI animations indicating "save in progress" or to popup an info box indicating save success.
SAVE_FAULT | Constant |
public static const SAVE_FAULT:String = "saveFault"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The AssetEvent.SAVE_FAULT
constant defines the value of the
type
property of the event object for a saveFault
event.
The saveFault
event is dispatched when the server reports an error while
saving the asset on the server. Unlike the saving
event, this is dispatched
in an aysnchronous manner only after the server has responded with a result for the save api
call.
When this event is dispatched, the fault
property contains the fault object
encapsulating the error sent by the server. The fault
property can be used to
determine the faultCode and show an error message accordingly.
This event can be used to stop UI animations indicating "save in progress" or to popup an info box indicating save success.
SAVING | Constant |
public static const SAVING:String = "saving"
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 9.5 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The AssetEvent.SAVING
constant defines the value of the
type
property of the event object for a saving
event.
The saving
event is dispatched when the save() method has been
called on the domain object. This event is dispatched before any server api
is invoked but after the domain client validations are complete. This is because
the actual save starts once the client validations are complete.
This event can be used to start a UI animation indicating "save in progress".
Related API Elements
Mon Nov 28 2011, 06:48 AM -08:00