ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.webdocumentviewer.domain 

WebDocumentViewer  - AS3 ADEP Task Management

Packagecom.adobe.ep.ux.webdocumentviewer.domain
Classpublic class WebDocumentViewer
InheritanceWebDocumentViewer Inheritance ResourceContainer

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The WebDocumentViewer component provides support for displaying forms that are displayed in an HTML wrapper. The WebDocumentViewer component is extended to provide support for specific types of forms, such as PDF or HTML forms.

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  contentType : String
The MIME type of the document.
WebDocumentViewer
  url : String
The document URL reference.
WebDocumentViewer
Public Methods
 MethodDefined By
  
Constructor.
WebDocumentViewer
  
loadDocument(validateUrl:Boolean = false):void
Loads the content into the HTML wrapper.
WebDocumentViewer
  
Unloads the content from the HTML wrapper.
WebDocumentViewer
Property Detail

contentType

property
public var contentType:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The MIME type of the document.

url

property 
public var url:String

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The document URL reference.

Constructor Detail

WebDocumentViewer

()Constructor
public function WebDocumentViewer()

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Constructor.

Method Detail

loadDocument

()method
public function loadDocument(validateUrl:Boolean = false):void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Loads the content into the HTML wrapper. The url and contentType properties must be set prior before calling this method.

Parameters

validateUrl:Boolean (default = false) — Specifies an optional parameter to validate whether the URL originates from the same domain.

unloadDocument

()method 
public function unloadDocument():void

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Task Management 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Unloads the content from the HTML wrapper.