Adobe® Flash® Platform 用 ActionScript® 3.0 リファレンスガイド
ホーム  |  パッケージおよびクラスリストの非表示 |  パッケージ  |  クラス  |  新機能  |  索引  |  付録  |  英語で表示される理由
フィルター: サーバーからデータを取得しています...
サーバーからデータを取得しています...
com.adobe.icomm.assetplacement.model 

Resource  - AS3 Asset Placement

パッケージcom.adobe.icomm.assetplacement.model
クラスpublic class Resource
継承Resource Inheritance PackageElement Inheritance Object

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: AIR 1.0, Flash Player 9, Flash Player 10

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



パブリックプロパティ
 プロパティ定義元
  altText : String
[読み取り専用] Alternative text (alt text) is used as a replacement for an image, whenever the image cannot be seen.
Resource
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。
Object
  contentType : String
[読み取り専用] Identifies the content type of the the current resource.
Resource
  controller : String
[読み取り専用] Contains a reference to a controller element using an XML id.
Resource
  expiration : String
[読み取り専用] Specifies the expiration date of a given resource.
Resource
 Inheritednamespace : String
[読み取り専用] The namespace for this element.
PackageElement
  source : String
[読み取り専用] Specifies a reference to an external file resource.
Resource
  targetURL : String
[読み取り専用] Specifies a reference to an external web page.
Resource
 Inheritedxml : XML
The XML this object represents.
PackageElement
パブリックメソッド
 メソッド定義元
  
Constructor.
Resource
 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
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
  
Using the expiration attribute specified on the resource, this function calculates whether the resource is expired based on the current date.
Resource
 Inherited
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
プロパティの詳細

altText

プロパティ
altText:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: 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.



実装
    public function get altText():String

contentType

プロパティ 
contentType:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: AIR 1.0, Flash Player 9, Flash Player 10

Identifies the content type of the the current resource.



実装
    public function get contentType():String

controller

プロパティ 
controller:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: 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.



実装
    public function get controller():String

expiration

プロパティ 
expiration:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: 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.



実装
    public function get expiration():String

source

プロパティ 
source:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: 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.



実装
    public function get source():String

targetURL

プロパティ 
targetURL:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: AIR 1.0, Flash Player 9, Flash Player 10

Specifies a reference to an external web page.



実装
    public function get targetURL():String
コンストラクターの詳細

Resource

()コンストラクター
public function Resource()

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: AIR 1.0, Flash Player 9, Flash Player 10

Constructor.

メソッドの詳細

isExpired

()メソッド
public function isExpired():Boolean

言語バージョン: ActionScript 3.0
製品バージョン: Asset Placement Building Block 9.5
ランタイムバージョン: 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.

戻り値
Boolean — True if the expiration data has passed as of the time of calling this function and false otherwise




[ X ]英語で表示される理由
ActionScript 3.0 リファレンスガイドのコンテンツが英語で表示されます。

ActionScript 3.0 リファレンスガイドのすべての部分がすべての言語に翻訳されているわけではありません。言語エレメントが翻訳されていない場合、そのエレメントは英語で表示されます。例えば、ga.controls.HelpBox クラスはどの言語にも訳されていません。このため、リファレンスガイドの日本語バージョンでは、ga.controls.HelpBox クラスは英語で表示されます。