ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
lc.procmgmt.formbridge 

SwfConnector  - AS3 ADEP Workspace

Packagelc.procmgmt.formbridge
Classpublic class SwfConnector
InheritanceSwfConnector Inheritance EventDispatcher Inheritance Object
Implements IMXMLObject

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The SwfConnector class is used by Flex applications to simplify communication with Workspace. This class must be used with applications you want to function within Workspace. Applications that you use are built with Flex (Flex applications). The route buttons provided are configured in Adobe Digital Enterprise Platform Document Services - Workbench 10.0 by adding actions. For more information configuring buttons, see Providing actions for submitting tasks in Creating Processes using Workbench. Use this class instead of the deprecated FormConnector class.

For information on using this component to customize Workspace, see Creating Flex Applications Enabled for Workspace .

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  task : lc.procmgmt.domain:Task
The task associated with the Flex application.
SwfConnector
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
changeRouteButtonTooltip(existingButtonName:String, newTooltip:String):void
Changes the tooltip of the specified button.
SwfConnector
  
Closes the Flex application.
SwfConnector
  
Specifies that the application has completed creation and binds the required event listeners to events.
SwfConnector
  
Disables a specific route button.
SwfConnector
 Inherited
Dispatches an event into the event flow.
EventDispatcher
  
Enables a specific route button.
SwfConnector
  
Retrieves the current user.
SwfConnector
  
Retrieves the names for all buttons used to complete a task.
SwfConnector
  
Retrieves the IPreferencesManager implementation.
SwfConnector
  
deprecated - use getRemotingService() Retrieves a RemoteObject object for the specified connector name.
SwfConnector
  
Retrieves a RemoteObject object for the specified service name.
SwfConnector
  
Retrieves the ITaskManager implementation.
SwfConnector
  
Retrieves the IUserManager implementation.
SwfConnector
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
Hides all container tabs, except for any container tabs in the Flex application.
SwfConnector
  
Hides all route buttons.
SwfConnector
  
Hides the Attachments tab.
SwfConnector
  
Hides the Directives tab.
SwfConnector
  
Hides the Form tab.
SwfConnector
  
Hides a specific route button.
SwfConnector
  
Hides the Save button.
SwfConnector
  
Hides the Task Details tab.
SwfConnector
  
Initializes communication with Workspace.
SwfConnector
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
renameRouteButton(oldButtonName:String, newButtonName:String):void
Renames an existing button.
SwfConnector
  
Specifies that changes in the data have not been made in the Flex application.
SwfConnector
  
Specifies that the data stored is not valid.
SwfConnector
  
Specifies that the data stored is valid.
SwfConnector
  
Specifies that changes have been made in the Flex application.
SwfConnector
  
Displays the Flex application in full screen mode.
SwfConnector
  
Displays the Flex application in normal screen mode (not full screen mode).
SwfConnector
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
Notifies Workspace that the Flex application is ready to start communicating.
SwfConnector
  
Sends the data to Workspace to save.
SwfConnector
  
Sends the data to Workspace to submit to a process.
SwfConnector
  
Specifies that the Flex application has completed creation and binds the required event listeners to events.
SwfConnector
  
Displays all route buttons.
SwfConnector
  
Displays the Attachments tab.
SwfConnector
  
Displays the Directives tab.
SwfConnector
  
Displays the Form tab.
SwfConnector
  
Displays a specific route button.
SwfConnector
  
Displays the Save button.
SwfConnector
  
Displays the Task Details tab.
SwfConnector
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
  Dispatched when an add event is received by Workspace.SwfConnector
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
  Dispatched after the Flex application has completed loading.SwfConnector
  Dispatched when a user clicks the Save Form Data button within Workspace.SwfConnector
  Dispatched when a user clicks a button to complete a task within Workspace.SwfConnector
  Dispatched when a hide event is received by Workspace.SwfConnector
  Dispatched when a remove event is received by Workspace.SwfConnector
  Dispatched after the Flex application has completed loading.SwfConnector
  Dispatched when a show event is received by Workspace.SwfConnector
  Dispatched from Workspace to unload the Flex application.SwfConnector
Property Detail

task

property
task:lc.procmgmt.domain:Task

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

The task associated with the Flex application.



Implementation
    public function get task():lc.procmgmt.domain:Task
    public function set task(value:lc.procmgmt.domain:Task):void
Method Detail

changeRouteButtonTooltip

()method
public function changeRouteButtonTooltip(existingButtonName:String, newTooltip:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Changes the tooltip of the specified button.

Parameters

existingButtonName:String — Specifies the name of the button.
 
newTooltip:String — Specifies the new tooltip text.

close

()method 
public function close():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Closes the Flex application.

creationComplete

()method 
public function creationComplete(event:Event):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that the application has completed creation and binds the required event listeners to events.

Parameters

event:Event — Specifies that the initialization of the object has completed.

disableRouteButton

()method 
public function disableRouteButton(buttonName:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Disables a specific route button.

Parameters

buttonName:String — Specifies the name of the button.

enableRouteButton

()method 
public function enableRouteButton(buttonName:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Enables a specific route button.

Parameters

buttonName:String — Specifies the name of the button.

getAuthenticatedUser

()method 
public function getAuthenticatedUser():User

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the current user.

Returns
User — An object representing the current user logged into the Document Server.

getCompleteButtonNames

()method 
public function getCompleteButtonNames():Array

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the names for all buttons used to complete a task. The names includes the Complete button and the buttons provided for each route in the process.

Returns
Array — An array containing the names of routes to complete the task.

getPreferencesManager

()method 
public function getPreferencesManager():IPreferencesManager

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the IPreferencesManager implementation.

Returns
IPreferencesManager — An object that implements the IPreferencesManager interface.

getRemotingEndpoint

()method 
public function getRemotingEndpoint(endpointName:String):RemoteObject

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

deprecated - use getRemotingService() Retrieves a RemoteObject object for the specified connector name. The RemoteObject object is useful for using Remoting.

Parameters

endpointName:String — Specifies the name of the connector.

Returns
RemoteObject — An object that is useful for invoking Remoting calls.

getRemotingService

()method 
public function getRemotingService(serviceName:String):RemoteObject

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 10
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a RemoteObject object for the specified service name. The RemoteObject object is used for using Remoting.

Parameters

serviceName:String — Specifies the name of the service.

Returns
RemoteObject — An object that is used for invoking Remoting calls on the specified service.

getTaskManager

()method 
public function getTaskManager():lc.procmgmt:ITaskManager

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the ITaskManager implementation.

Returns
lc.procmgmt:ITaskManager — An object that implements the ITaskManager interface.

getUserManager

()method 
public function getUserManager():IUserManager

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves the IUserManager implementation.

Returns
IUserManager — An object that implements the IUserManager interface.

hideAllContainerViews

()method 
public function hideAllContainerViews():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides all container tabs, except for any container tabs in the Flex application.

hideAllRouteButtons

()method 
public function hideAllRouteButtons():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides all route buttons.

hideAttachmentsView

()method 
public function hideAttachmentsView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides the Attachments tab.

hideDirectivesView

()method 
public function hideDirectivesView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides the Directives tab.

hideFormView

()method 
public function hideFormView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides the Form tab.

hideRouteButton

()method 
public function hideRouteButton(buttonName:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides a specific route button.

Parameters

buttonName:String — Specifies the name of the button.

hideSaveButton

()method 
public function hideSaveButton():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides the Save button.

hideTaskDetailsView

()method 
public function hideTaskDetailsView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Hides the Task Details tab.

initialized

()method 
public function initialized(document:Object, id:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Initializes communication with Workspace.

Parameters

document:Object — Specifies the Flex application to initialize.
 
id:String — Reserved for future use. Do not use.

renameRouteButton

()method 
public function renameRouteButton(oldButtonName:String, newButtonName:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Renames an existing button. You can can rename a route button or the Complete button.

Parameters

oldButtonName:String — Specifies the current name of the button to change.
 
newButtonName:String — Specifies the new name for the button.

setClean

()method 
public function setClean():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that changes in the data have not been made in the Flex application.

setDataInvalid

()method 
public function setDataInvalid():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that the data stored is not valid. Use this method when at least one portion of the data to be submitted is not valid or is not formatted correctly.

setDataValid

()method 
public function setDataValid():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that the data stored is valid. Use this method when the data is valid and formatted correctly.

setDirty

()method 
public function setDirty():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that changes have been made in the Flex application.

setFullScreen

()method 
public function setFullScreen():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Flex application in full screen mode.

setMinimizedScreen

()method 
public function setMinimizedScreen():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Flex application in normal screen mode (not full screen mode).

setReady

()method 
public function setReady():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Notifies Workspace that the Flex application is ready to start communicating. To use it, associate it with the mx:Application component's creationComplete event.

setSaveData

()method 
public function setSaveData(data:XML):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Sends the data to Workspace to save. The data does not need to be validated before being saved.

Parameters

data:XML — Specifies the XML data to save.

setSubmitData

()method 
public function setSubmitData(data:XML):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Sends the data to Workspace to submit to a process. The data must be validated before it is submitted to a process.

Parameters

data:XML — Specifies the XML data to submit to a process.

setSubmitDataInvalid

()method 
public function setSubmitDataInvalid():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies that the Flex application has completed creation and binds the required event listeners to events.

showAllRouteButtons

()method 
public function showAllRouteButtons():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays all route buttons.

showAttachmentsView

()method 
public function showAttachmentsView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Attachments tab.

showDirectivesView

()method 
public function showDirectivesView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Directives tab.

showFormView

()method 
public function showFormView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Form tab.

showRouteButton

()method 
public function showRouteButton(buttonName:String):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays a specific route button.

Parameters

buttonName:String — Specifies the name of the button.

showSaveButton

()method 
public function showSaveButton():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Save button.

showTaskDetailsView

()method 
public function showTaskDetailsView():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Displays the Task Details tab.

Event Detail

add

Event
Event Object Type: flash.events.Event
property Event.type = mx.events.FlexEvent.ADD

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when an add event is received by Workspace. This event is required to manage the visibility of TaskForm objects that use the ResourceContainer object (HTML IFrame).

The FlexEvent.ADD constant defines the value of the type property of the event object for an add event.

This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

formInitialData

Event  
Event Object Type: flash.events.DataEvent
property DataEvent.type = flash.events.DataEvent.FORM_INITIAL_DATA

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched after the Flex application has completed loading. Contains prefill data that may be used to initialize the application with data.

formSaveDataRequest

Event  
Event Object Type: flash.events.Event
property Event.type = flash.events.Event.FORM_SAVE_DATA_REQUEST

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when a user clicks the Save Form Data button within Workspace.

formSubmitDataRequest

Event  
Event Object Type: flash.events.Event
property Event.type = flash.events.Event.FORM_SUBMIT_DATA_REQUEST

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when a user clicks a button to complete a task within Workspace.

hide

Event  
Event Object Type: flash.events.Event
property Event.type = mx.events.FlexEvent.HIDE

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when a hide event is received by Workspace. This is required to manage the visibility of TaskForm objects that use the ResourceContainer object (HTML IFrame).

The FlexEvent.HIDE constant defines the value of the type property of the event object for a hide event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

remove

Event  
Event Object Type: flash.events.Event
property Event.type = mx.events.FlexEvent.REMOVE

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when a remove event is received by Workspace. This is required to manage the visibility of TaskForm objects that use the ResourceContainer object (HTML IFrame).

The FlexEvent.REMOVE constant defines the value of the type property of the event object for an remove event.

This event will only be dispatched when there are one or more relevant listeners attached to the dispatching object.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

setWorkspaceData

Event  
Event Object Type: lc.procmgmt.events.SwfDataEvent
property SwfDataEvent.type = lc.procmgmt.events.SwfDataEvent.SET_WORKSPACE_DATA

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched after the Flex application has completed loading. Contains both the data and the associated Task object. This allows the application to use lc.procmgmt.domain and lc.foundation.domain objects.

The type property for a SwfDataEvent event. This event is set to always bubble.

The properties of the event object have the following values:

PropertyValue
dataThe data contents for the task.
taskThe instance of the selected task.

show

Event  
Event Object Type: flash.events.Event
property Event.type = mx.events.FlexEvent.SHOW

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched when a show event is received by Workspace. This is required to manage the visibility of TaskForm objects that use the ResourceContainer object (HTML IFrame).

The FlexEvent.SHOW constant defines the value of the type property of the event object for a show event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

unload

Event  
Event Object Type: flash.events.Event
property Event.type = lc.procmgmt.events.SwfAppEvent.UNLOAD

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Document Services - Workspace 9
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Dispatched from Workspace to unload the Flex application. This allows the application to use lc.procmgmt.domain and lc.foundation.domain objects.

A special value that specifies to unload the Flex application.

The properties of the Event object have the following values:

PropertyValue
bubbles True
cancelable False; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
target The object that dispatched the event; use the currentTarget property to always access the Object listening for the event.