Field Summary |
| clipParameters: Object |
|
|
|
public
| fps: Number |
| The frames per second is only used for video, and is only used in the configuration UI.
|
|
public
| initCuePointNames: Array |
|
|
|
public
| initCuePointTimes: Array |
|
|
|
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
| aspectRatio: Boolean (read, write) |
|
|
|
public
| autoPlay: Boolean (read, write) |
|
|
|
public
| autoSize: Boolean (read, write) |
|
|
|
public
| bytesLoaded: Number (read-only)
|
|
|
|
public
| bytesTotal: Number (read-only)
|
|
|
|
public
| contentPath: String (read, write) |
|
|
|
public
| controllerPolicy: String (read, write) |
|
|
|
public
| controlPlacement: String (read, write) |
| The position of the controls relative to the display component.
|
|
public
| cuePoints: Array (read, write) |
|
|
|
public
| enabled: Boolean (read, write) |
|
|
|
public
| mediaType: String (read, write) |
| This should only be called to configure the component initially.
|
|
public
| mostRecentCuePoint: CuePoint (read-only)
|
| Retrieve the most recently fired cue point.
|
|
public
| mostRecentCuePointName: String (read-only)
|
| Retrieve the most recently fired cue point name.
|
|
public
| mostRecentCuePointTime: Number (read-only)
|
| Retrieve the most recently fired cue point time.
|
|
public
| playheadTime: Number (read, write) |
|
|
|
public
| playing: Boolean (read-only)
|
|
|
|
public
| preferredHeight: Number (read-only)
|
|
|
|
public
| preferredWidth: Number (read-only)
|
|
|
|
public
| totalTime: Number (read, write) |
|
|
|
public
| volume: Number (read, write) |
|
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
public
| MediaPlayback (
)
|
| Constructor
|
|
Method Summary |
public
| addCuePoint (
aName: String, aTime: Number
): Void |
| Add the given cue point.
|
|
public
| addCuePointObject (
aCuePoint: CuePoint
): Void |
| Add the given cue point.
|
|
public
| addSecondChrome (
theChrome: Chrome, closedHeight: Number, openHeight: Number, closedWidth: Number, openWidth: Number, fixedEnd: Boolean
): Void |
|
|
|
public
| contract (
force: Boolean
): Void |
|
|
|
public
| displayFull (
): Void |
| Display the player in full-screen mode.
|
|
public
| displayNormal (
): Void |
| Display the player in normal mode (as opposed to full screen).
|
|
| draw (
Void
): Void |
| Draw the component.
|
|
public
| expand (
force: Boolean
): Void |
|
|
|
public
| getController (
): MediaController |
|
|
|
public
| getCuePoint (
pointName: String
): CuePoint |
|
|
|
public
| getCuePoints (
): Array |
|
|
|
public
| getMinimumClosedHeight (
): Number |
|
|
|
public
| getMinimumClosedWidth (
): Number |
|
|
|
public
| getMinimumOpenHeight (
): Number |
|
|
|
public
| getMinimumOpenWidth (
): Number |
|
|
|
public
| handleEvent (
ev
): Void |
| Handle all the events broadcast by the display and controller components.
|
|
| init (
Void
): Void |
| Initialize the player.
|
|
public
| isRtmp (
mediaUrl: String
): Boolean |
|
|
|
public
| load (
): Void |
| Load the media without playing it.
|
|
public
| pause (
): Void |
| Stop playback of the media without moving the playhead.
|
|
public
| play (
startingPoint: Number
): Void |
| Play the media starting at the specified starting point.
|
|
public
| removeAllCuePoints (
): Void |
| Remove all the CuePoints.
|
|
public
| removeCuePoint (
aCuePoint: CuePoint
): Void |
| Remove the given cue point.
|
|
public
| removeSecondChrome (
): Void |
|
|
|
public
| setCuePoints (
cp: Array
): Void |
|
|
|
public
| setMedia (
aUrl: String, aType: String
): Void |
| Set both the url and the type in a single call.
|
|
public
| setSize (
w: Number, h: Number, noEvent: Boolean
): Void |
| size the object
|
|
public
| stop (
): Void |
| Stop playback of the media and reset the playhead to zero.
|
|
public
| toString (
): String |
|
|
|
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 |
|
|
|