scaffold.libs_as.feathers.media.IVideoPlayer.as Maven / Gradle / Ivy
/*
Feathers
Copyright 2012-2015 Bowler Hat LLC. All Rights Reserved.
This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.media
{
/**
* Dispatched when the original, native width or height of the video content
* is calculated.
*
* The properties of the event object have the following values:
*
* Property Value
* bubbles
false
* currentTarget
The Object that defines the
* event listener that handles the event. For example, if you use
* myButton.addEventListener()
to register an event listener,
* myButton is the value of the currentTarget
.
* data
null
* target
The Object that dispatched the event;
* it is not always the Object listening for the event. Use the
* currentTarget
property to always access the Object
* listening for the event.
*
*
* @see #nativeWidth
* @see #nativeHeight
*
* @eventType feathers.events.MediaPlayerEventType.DIMENSIONS_CHANGE
*/
[Event(name="dimensionsChange",type="starling.events.Event")]
/**
* An interface media players that play video content.
*/
public interface IVideoPlayer extends IAudioPlayer
{
/**
* The original, native width of the loaded video.
*
* @see #event:dimensionsChange feathers.events.MediaPlayerEventType.DIMENSIONS_CHANGE
*/
function get nativeWidth():Number;
/**
* The original, native height of the loaded video.
*
* @see #event:dimensionsChange feathers.events.MediaPlayerEventType.DIMENSIONS_CHANGE
*/
function get nativeHeight():Number;
}
}