Paket | com.adobe.icomm.assetplacement.model |
Klass | public class Resource |
Arv | Resource PackageElement Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Egenskap | Definieras med | ||
---|---|---|---|
altText : String [skrivskyddad]
Alternative text (alt text) is used as a replacement for an image, whenever the image
cannot be seen. | Resource | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
contentType : String [skrivskyddad]
Identifies the content type of the the current resource. | Resource | ||
controller : String [skrivskyddad]
Contains a reference to a controller element using an XML id. | Resource | ||
expiration : String [skrivskyddad]
Specifies the expiration date of a given resource. | Resource | ||
namespace : String [skrivskyddad]
The namespace for this element. | PackageElement | ||
source : String [skrivskyddad]
Specifies a reference to an external file resource. | Resource | ||
targetURL : String [skrivskyddad]
Specifies a reference to an external web page. | Resource | ||
xml : XML
The XML this object represents. | PackageElement |
Metod | Definieras med | ||
---|---|---|---|
Resource()
Constructor. | Resource | ||
Retrieve an attribute of this element. | PackageElement | ||
Retrieve a child value of this element. | PackageElement | ||
Retrieve an attribute of this element's parent. | PackageElement | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Using the expiration attribute specified on the resource, this function calculates whether the resource
is expired based on the current date. | Resource | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
altText | egenskap |
altText:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen. Every visible image should have alt text, unless the image is purely decorative, that is, it has no function and is used only for visual formatting or decoration. This text will also be used by screen readers.
Implementering
public function get altText():String
contentType | egenskap |
controller | egenskap |
controller:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Contains a reference to a controller element using an XML id. The controller element is the one that references this Resource at runtime.
Implementering
public function get controller():String
expiration | egenskap |
expiration:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the expiration date of a given resource. This date must be specified as YYYY-MM-DD. For example, 2009-12-12.
Implementering
public function get expiration():String
source | egenskap |
source:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a reference to an external file resource. The set of supported URI schemes (e.g., http, ftp, repository, file) is implementation-defined.
Implementering
public function get source():String
targetURL | egenskap |
Resource | () | Konstruktor |
public function Resource()
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
isExpired | () | metod |
public function isExpired():Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Placement Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Using the expiration attribute specified on the resource, this function calculates whether the resource is expired based on the current date.
ReturnerarBoolean — True if the expiration data has passed as of the time of calling this function
and false otherwise
|
Tue Jun 12 2018, 01:40 PM Z