Field Summary |
| clipParameters: Object |
|
|
|
public
| playAtBeginning: Boolean |
| Should a click on the play button start play at the beginning of the media? Must be public because the PlayPauseButton class needs to update it.
|
|
static
| symbolName: String |
| This set of properties is for FUIComponent
|
|
static
| symbolOwner: Object |
|
|
|
static
| version: String |
| Copyright (C) 2003 Macromedia, Inc.
|
|
Fields inherited from class mx.core.UIComponentclipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version |
|
Fields inherited from class mx.core.UIObject__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version |
|
Fields inherited from class 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 |
|
|
Property Summary |
public
| activePlayControl: String (read, write) |
| The active play control must be either play or pause.
|
|
public
| backgroundStyle: String (read, write) |
| Should the component draw chrome?
|
|
public
| controllerPolicy: String (read, write) |
| Indicates how the controller behaves wrt mouse interaction.
|
|
public
| enabled: Boolean (read, write) |
| Enable or disable this component
|
|
public
| expanded: Boolean (read-only)
|
|
|
|
public
| horizontal: Boolean (read, write) |
|
|
|
public
| lastProgressMediaType: String (read-only)
|
|
|
|
public
| playing: Boolean (read, write) |
|
|
|
public
| playPercent: Number (read, write) |
|
|
|
public
| playTime: Number (read, write) |
|
|
|
public
| volume: Number (read, write) |
| Set the volume that is displayed in the controller.
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
public
| MediaController (
)
|
| Constructor
|
|
Method Summary |
public
| addSecondChrome (
theChrome: Chrome, closedHeight: Number, openHeight: Number, closedWidth: Number, openWidth: Number, fixedEnd: Boolean
): Void |
| Add a second chrome to the control.
|
|
public
| associateDisplay (
d: MediaDisplay
): Void |
| Associated this controller with a display.
|
|
public
| broadcastEvent (
eventType: String, detailArg
): Void |
| Broadcast an event.
|
|
public
| contract (
force: Boolean
): Void |
| If policy is auto for this clip, contract it.
|
|
| draw (
Void
): Void |
|
|
|
public
| evaluateToEnd (
): Void |
| Enable or disable the toEnd button, as appropriate.
|
|
public
| expand (
force: Boolean
): Void |
| If policy is auto for this clip, expand the controller.
|
|
public
| getLoadBar (
): LoadBar |
|
|
|
public
| getLoadPercent (
): Number |
| This function is only for the internal use of the the controller.
|
|
public
| getLocalizedString (
id: String
): String |
|
|
|
public
| getMinimumClosedHeight (
): Number |
|
|
|
public
| getMinimumClosedWidth (
): Number |
|
|
|
public
| getMinimumOpenHeight (
): Number |
|
|
|
public
| getMinimumOpenWidth (
): Number |
|
|
|
public
| handleEvent (
ev: Object
): Void |
| Handle events for which the controller listens
|
|
| init (
Void
): Void |
| Initialize the controller.
|
|
public
| isListeningForPlayheadMoveEvent (
): Boolean |
|
|
|
public
| isNotAnimating (
): Boolean |
|
|
|
public
| isOpenUpOrLeft (
): Boolean |
|
|
|
public
| isPlaying (
): Boolean |
|
|
|
public
| isScrubbing (
): Boolean |
| Is the user scrubbing the media?
|
|
public
| onMouseMove (
): Void |
| Manually monitor mouse movement.
|
|
public
| refreshBars (
): Void |
|
|
|
public
| removeSecondChrome (
): Void |
| Remove the second chrome instance from the controller.
|
|
public
| setListeningForPlayheadMoveEvent (
listen: Boolean
): Void |
|
|
|
public
| setNotAnimating (
still: Boolean
): Void |
|
|
|
public
| setOpenUpOrLeft (
is: Boolean
): Void |
|
|
|
public
| setPlaying (
playFlag: Boolean
): Void |
|
|
|
public
| setSize (
w: Number, h: Number, noEvent: Boolean
): Void |
| size the object
|
|
Methods inherited from class mx.core.UIComponentdispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size |
|
Methods inherited from class mx.core.UIObject__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size |
|
Methods inherited from class MovieClipattachAudio, 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 |
|
|
|