MovieClip +--mx.controls.streamingmedia.FullScreenToggle
FullScreenToggle toggles the display of the streaming media player between normal and fullscreen.
_isFull
, _maximize
, _minimize
, _originalAutosize
, _originalPlayerHeight
, _originalPlayerWidth
, _originalPlayerX
, _originalPlayerY
, _player
, _waited
_alpha
, _currentframe
, _droptarget
, _focusrect
, _framesloaded
, _height
, _lockroot
, _name
, _parent
, _quality
, _rotation
, _soundbuftime
, _target
, _totalframes
, _url
, _visible
, _width
, _x
, _xmouse
, _xscale
, _y
, _ymouse
, _yscale
, enabled
, focusEnabled
, hitArea
, tabChildren
, tabEnabled
, tabIndex
, tooltipText
, trackAsMenu
, useHandCursor
private _isFull:Boolean
private _player:MediaPlayback
private _maximize:FullScreenToggleControl
private _minimize:FullScreenToggleControl
private _originalPlayerX:Number
private _originalPlayerY:Number
private _originalPlayerWidth:Number
private _originalPlayerHeight:Number
private _originalAutosize:Boolean
private _waited:Boolean
public function isFullScreen():Boolean
- Return
- True if the display is full screen; false if not.
public function displayFull(noAction:Boolean):Void
Make the display full screen. If the component is contained in a ScrollView it will be displayed in the ScrollView.
- Parameters
noAction
True: don't act on the player. False: do.
private function getContainerInfo():Object
Determine if the player is contained in a ScrollView. If so, then compile the information necessary to expand it to fill the scroll view. If not, then provide the information to expand it to fill the entire Flash stage.
- Return
- An object with the following properties: container: The clip which will be filled width: The target width of the zoomed player height: The target height of the zoomed player x: The x-coordinate at which the playback should be placed y: The y-coordinate at which the playback should be placed origin: Boolean -- position at the stage origin
public function displayNormal(noAction:Boolean):Void
Make the display normal.
- Parameters
noAction
True: don't act on the player. False: do.