Adobe® Flash® Platform için ActionScript® 3.0 Başvurusu
Ana Sayfa  |  Paket ve Sınıf Listesini Gizle |  Paketler  |  Sınıflar  |  Yenilikler  |  Dizin  |  Ekler  |  Niçin İngilizce?
Filtreler: Sunucudan Veri Alınıyor...
Sunucudan Veri Alınıyor...
org.osmf.media 

MediaResourceBase  - AS3 OSMF

Paketorg.osmf.media
Sınıfpublic class MediaResourceBase
Miras AlmaMediaResourceBase Inheritance Object
Alt Sınıflar PluginInfoResource, URLResource

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

A MediaResourceBase is a base class for media that serves as input to a MediaElement.

Different MediaElement instances can "handle" (i.e. process and present) different resource types (e.g. a URL vs. an array of streams), or even different variations of the same resource type (e.g. a URL with the ".jpg" extension vs. a URL with a ".mp3" extension).

A MediaResourceBase can also have an arbitrary set of descriptive metadata. Metadata is typically used to further qualify the resource so that each MediaElement can determine whether (and how) to present and process the resource.



Genel Özellikler
 ÖzellikTanımlayan:
 Inheritedconstructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru.
Object
  mediaType : String
The MediaType, if any, of this resource.
MediaResourceBase
  metadataNamespaceURLs : Vector.<String>
[salt okunur] A Vector containing the namespace URLs for all Metadata objects within this resource.
MediaResourceBase
  mimeType : String
The MIME type, if any, of this resource.
MediaResourceBase
Genel Yöntemler
 YöntemTanımlayan:
  
Constructor.
MediaResourceBase
  
addMetadataValue(namespaceURL:String, value:Object):void
Adds a metadata value to this resource.
MediaResourceBase
  
Retrieves a metadata value from this resource.
MediaResourceBase
 Inherited
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir.
Object
 Inherited
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir.
Object
 Inherited
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir.
Object
  
Removes a metadata value from this resource.
MediaResourceBase
 Inherited
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar.
Object
 Inherited
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür.
Object
 Inherited
Belirtilen nesnenin dize olarak temsil edilen halini döndürür.
Object
 Inherited
Belirtilen nesnenin temel değerini döndürür.
Object
Özellik Ayrıntısı

mediaType

özellik
mediaType:String

The MediaType, if any, of this resource.



Uygulama
    public function get mediaType():String
    public function set mediaType(value:String):void

metadataNamespaceURLs

özellik 
metadataNamespaceURLs:Vector.<String>  [salt okunur]

A Vector containing the namespace URLs for all Metadata objects within this resource.



Uygulama
    public function get metadataNamespaceURLs():Vector.<String>

mimeType

özellik 
mimeType:String

The MIME type, if any, of this resource.



Uygulama
    public function get mimeType():String
    public function set mimeType(value:String):void
Yapıcı Ayrıntı

MediaResourceBase

()Yapıcı
public function MediaResourceBase()

Constructor.

Yöntem Ayrıntısı

addMetadataValue

()yöntem
public function addMetadataValue(namespaceURL:String, value:Object):void

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Adds a metadata value to this resource.

Parametreler

namespaceURL:String — A URL with which this metadata is associated, and with which it can be retrieved. If there is metadata that is already associated with this URL, then it will be overwritten.
 
value:Object — The metadata value. It is recommended that this be a strongly-typed class, rather than an untyped Object.

getMetadataValue

()yöntem 
public function getMetadataValue(namespaceURL:String):Object

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Retrieves a metadata value from this resource.

Parametreler

namespaceURL:String — The URL with which the metadata is associated.

Döndürür
Object — The retrieved metadata value, null if there is no metadata value associated with the specified namespace URL.

removeMetadataValue

()yöntem 
public function removeMetadataValue(namespaceURL:String):Object

Dil Sürümü: ActionScript 3.0
Ürün Sürümü: OSMF 1.0
Çalışma Zamanı Sürümleri: Flash Player 10, AIR 1.5

Removes a metadata value from this resource.

Parametreler

namespaceURL:String — The URL with which the metadata value is associated.

Döndürür
Object — The removed metadata value, null if there is no metadata value associated with the specified namespace URL.




[ X ]Niçin İngilizce?
ActionScript 3.0 Başvurusu'ndaki içerik İngilizce görünür

ActionScript 3.0 Başvurusu'nun tüm bölümleri tüm dillere çevrilmemiştir. Bir dil öğesi çevrilmediğinde İngilizce görünür. Örneğin, ga.controls.HelpBox sınıfı hiçbir dile çevrilmez. Bu nedenle, başvurunun Türkçe versiyonunda ga.controls.HelpBox sınıfı İngilizce görünür.