Paket | org.osmf.containers |
Gränssnitt | public interface IMediaContainer |
Implementorer | HTMLMediaContainer, MediaContainer |
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Adds a MediaElement instance to the container. | IMediaContainer | ||
Verifies if an element is a child of the container. | IMediaContainer | ||
Removes a MediaElement instance from the container. | IMediaContainer |
Metoddetaljer
addMediaElement | () | metod |
public function addMediaElement(element:MediaElement):MediaElement
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Adds a MediaElement instance to the container. It is mandatory for implementations to dispatch a ContainerChangeEvent via the element that is being added to the container.
Parametrar
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
Utlöser
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | metod |
public function containsMediaElement(element:MediaElement):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
Parametrar
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | metod |
public function removeMediaElement(element:MediaElement):MediaElement
Språkversion: | ActionScript 3.0 |
Produktversion: | OSMF 1.0 |
Körningsmiljöversioner: | Flash Player 10, AIR 1.5 |
Removes a MediaElement instance from the container. It is mandatory for implementations to dispatch a ContainerChangeEvent via the element that is being removed from the container.
Parametrar
element:MediaElement — The element to remove from the container.
|
MediaElement |
Utlöser
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Tue Jun 12 2018, 01:40 PM Z