Pakiet | org.osmf.containers |
Interfejs | public interface IMediaContainer |
Implementory | HTMLMediaContainer, MediaContainer |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Metody publiczne
Metoda | Zdefiniowane przez | ||
---|---|---|---|
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 |
Szczegół metody
addMediaElement | () | metoda |
public function addMediaElement(element:MediaElement):MediaElement
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | 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.
Parametry
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
Zgłasza
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | metoda |
public function containsMediaElement(element:MediaElement):Boolean
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
Parametry
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | metoda |
public function removeMediaElement(element:MediaElement):MediaElement
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | 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.
Parametry
element:MediaElement — The element to remove from the container.
|
MediaElement |
Zgłasza
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Tue Jun 12 2018, 12:06 PM Z