패키지 | org.osmf.containers |
인터페이스 | public interface IMediaContainer |
구현자 | HTMLMediaContainer, MediaContainer |
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | Flash Player 10, AIR 1.5 |
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
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 |
메서드 세부 정보
addMediaElement | () | 메서드 |
public function addMediaElement(element:MediaElement):MediaElement
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | 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.
매개 변수
element:MediaElement — The MediaElement instance to add to the container.
|
MediaElement |
오류
IllegalOperationError — if the specified element is null,
or already a child of the container.
|
containsMediaElement | () | 메서드 |
public function containsMediaElement(element:MediaElement):Boolean
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Verifies if an element is a child of the container.
매개 변수
element:MediaElement — Element to verify.
|
Boolean — True if the element if a child of the container.
|
removeMediaElement | () | 메서드 |
public function removeMediaElement(element:MediaElement):MediaElement
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | 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.
매개 변수
element:MediaElement — The element to remove from the container.
|
MediaElement |
오류
IllegalOperationError — if the specified element isn't
a child element, or is null.
|
Tue Jun 12 2018, 03:17 PM Z