Main Page | Packages | Class Tree | Index | Help

mx.controls.streamingmedia.config

class MediaConfig

Object
  |
  +--mx.controls.streamingmedia.config.MediaConfig


class MediaConfig
extends Object

This is a singleton class whose static members dictate the configuration of the streaming media configuration UI's.


Author:
Andrew Guldman


Field Summary

public static
cuePointEditor: CuePointEditor
The cuepoint editor clip.

public static
mode: String


public static
MS_FPS
FPS value that indicates the user wants to specify milliseconds

public static
testing: Boolean


Fields inherited from class Object

__proto__, constructor, prototype

Method Summary

public static
activateFrameFps ( ): Void
Activate the last numeric frame value.

public static
composeSeconds ( h: Number, m: Number, s: Number, ms: Number ): Number
Convert hours, minutes, seconds, and ms into seconds.

public static
composeSecondsFromFrames ( h: Number, m: Number, s: Number, f: Number, fps: Number ): Number


public static
createStyleSheet ( type: String ): String
Create the indicated stylesheet and put it in the global list.

public static
decomposeSeconds ( seconds: Number ): Array
Convert a number of seconds into an array of h, m, s, ms values

public static
decomposeSecondsToFrames ( seconds: Number, fps: Number ): Array


public static
getFps ( ): Number


public static
getFrameFps ( ): Number
Activate the last numeric frame value.

public static
isMs ( ): Boolean


public static
processPreload ( ): Void
This code is run from the frame after the "preload" frame of the main timeline.

public static
setFps ( anFps: Number ): Void


public static
setup ( ): Void
This code is run on frame 1 of the main timeline to set up the SWF.

public static
useMs ( ): Void


Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

cuePointEditor

public static var cuePointEditor: CuePointEditor
The cuepoint editor clip.

The editor will register itself when it initializes.

mode

public static var mode: String

MS_FPS

public static var MS_FPS
FPS value that indicates the user wants to specify milliseconds

testing

public static var testing: Boolean

Method Documentation

activateFrameFps

public static function activateFrameFps(): Void
Activate the last numeric frame value.

composeSeconds

public static function composeSeconds(h: Number,
 m: Number,
 s: Number,
 ms: Number): Number
Convert hours, minutes, seconds, and ms into seconds.

composeSecondsFromFrames

public static function composeSecondsFromFrames(h: Number,
 m: Number,
 s: Number,
 f: Number,
 fps: Number): Number

createStyleSheet

public static function createStyleSheet(type: String): String
Create the indicated stylesheet and put it in the global list.

Parameters:
type
The type of stylesheet. Supported options are "normal", "title", "big", and "input".
Returns:
The name of the stylesheet to use for the config ui.

decomposeSeconds

public static function decomposeSeconds(seconds: Number): Array
Convert a number of seconds into an array of h, m, s, ms values

decomposeSecondsToFrames

public static function decomposeSecondsToFrames(seconds: Number,
 fps: Number): Array

getFps

public static function getFps(): Number

getFrameFps

public static function getFrameFps(): Number
Activate the last numeric frame value.

isMs

public static function isMs(): Boolean

processPreload

public static function processPreload(): Void
This code is run from the frame after the "preload" frame of the main timeline.

It makes sure that _root.xch is loaded, then progresses to the proper frame once it has.

setFps

public static function setFps(anFps: Number): Void

setup

public static function setup(): Void
This code is run on frame 1 of the main timeline to set up the SWF.

useMs

public static function useMs(): Void

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc