Class mx.controls.streamingmedia.FullScreenToggle

MovieClip
   +--mx.controls.streamingmedia.FullScreenToggle

Description

FullScreenToggle toggles the display of the streaming media player between normal and fullscreen.

Field Index

_isFull, _maximize, _minimize, _originalAutosize, _originalPlayerHeight, _originalPlayerWidth, _originalPlayerX, _originalPlayerY, _player, _waited
Inherited from MovieClip
_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

Method Index

new FullScreenToggle()

delayedBarRefresh(), displayFull(), displayNormal(), getAllToggles(), getContainerInfo(), getEnabled(), getOtherToggles(), getPlayer(), getScrollViewAncestor(), init(), isFullScreen(), setEnabled(), toggleDisplay()
Inherited from MovieClip
attachAudio(), attachMovie(), beginFill(), beginGradientFill(), clear(), createEmptyMovieClip(), createTextField(), curveTo(), duplicateMovieClip(), endFill(), getBounds(), getBytesLoaded(), getBytesTotal(), getDepth(), getInstanceAtDepth(), getNextHighestDepth(), getSWFVersion(), getTextSnapshot(), getURL(), globalToLocal(), gotoAndPlay(), gotoAndStop(), hitTest(), lineStyle(), lineTo(), loadMovie(), loadVariables(), localToGlobal(), moveTo(), nextFrame(), onData(), onDragOut(), onDragOver(), onEnterFrame(), onKeyDown(), onKeyUp(), onKillFocus(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), onSetFocus(), onUnload(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

FullScreenToggle

public function FullScreenToggle()
Constructor

Field Detail

_isFull

private _isFull:Boolean

_player

private _player:MediaPlayback

_maximize

private _maximize:FullScreenToggleControl

_minimize

private _minimize:FullScreenToggleControl

_originalPlayerX

private _originalPlayerX:Number

_originalPlayerY

private _originalPlayerY:Number

_originalPlayerWidth

private _originalPlayerWidth:Number

_originalPlayerHeight

private _originalPlayerHeight:Number

_originalAutosize

private _originalAutosize:Boolean

_waited

private _waited:Boolean

Method Detail

init

private function init()

isFullScreen

public function isFullScreen():
Boolean
Return
True if the display is full screen; false if not.

displayFull

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.

getContainerInfo

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

getScrollViewAncestor

private function getScrollViewAncestor(anMC:
MovieClip):ScrollView

delayedBarRefresh

private function delayedBarRefresh():Void

displayNormal

public function displayNormal(noAction:
Boolean):Void
Make the display normal.
Parameters
noAction True: don't act on the player. False: do.

toggleDisplay

public function toggleDisplay():Void
Toggle the display between full screen and normal mode.

getAllToggles

private function getAllToggles():
Array
Return
All the toggles (including itself)

getOtherToggles

private function getOtherToggles():
Array
Return
All the toggles except itself

getPlayer

public function getPlayer():
MediaPlayback

getEnabled

public function getEnabled():
Boolean

setEnabled

public function setEnabled(is:
Boolean):Void