ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icomm.assetplacement.model 

Attachment  - AS3 Asset Placement

Packagecom.adobe.icomm.assetplacement.model
Classpublic class Attachment
InheritanceAttachment Inheritance PackageElement Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

This class models an <attachment> element in the package definition. It provides helper methods for getting and setting the most common attributes of the <attachment> element.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  contentType : String
[read-only] The MIME type of this attachment.
Attachment
  controller : String
[read-only] Contains a reference to a controller element using an XML id.
Attachment
  description : String
[read-only] A description of the attachment.
Attachment
  name : String
[read-only] The name of the attachment.
Attachment
 Inheritednamespace : String
[read-only] The namespace for this element.
PackageElement
  source : String
[read-only] The source URI location of this attachment.
Attachment
 Inheritedxml : XML
The XML this object represents.
PackageElement
Public Methods
 MethodDefined By
  
Constructor.
Attachment
 Inherited
Retrieve an attribute of this element.
PackageElement
 Inherited
Retrieve a child value of this element.
PackageElement
 Inherited
Retrieve an attribute of this element's parent.
PackageElement
 Inherited
Indicates whether an object has a specified property defined.
Object
 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
Sets the availability of a dynamic property for loop operations.
Object
 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
Property Detail

contentType

property
contentType:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

The MIME type of this attachment.



Implementation
    public function get contentType():String

controller

property 
controller:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Contains a reference to a controller element using an XML id. The controller element represents a component, usually a UI component, that will be referencing this attachment at runtime.



Implementation
    public function get controller():String

description

property 
description:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

A description of the attachment.



Implementation
    public function get description():String

name

property 
name:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

The name of the attachment.



Implementation
    public function get name():String

source

property 
source:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

The source URI location of this attachment.



Implementation
    public function get source():String
Constructor Detail

Attachment

()Constructor
public function Attachment()

Language Version: ActionScript 3.0
Product Version: Asset Placement Building Block 9.5
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

Constructor.