ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.metadata 

TimelineMarker  - AS3 OSMF

Packageorg.osmf.metadata
Classpublic class TimelineMarker
InheritanceTimelineMarker Inheritance Object
Subclasses CuePoint

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The TimelineMarker class represents an individual marker in the timeline of a MediaElement.

TimelineMarker objects are aggregated by a TimelineMetadata object.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  duration : Number
[read-only] The duration in seconds.
TimelineMarker
  time : Number
[read-only] The time in seconds.
TimelineMarker
Public Methods
 MethodDefined By
  
TimelineMarker(time:Number, duration:Number = NaN)
Constructor.
TimelineMarker
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

duration

property
duration:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The duration in seconds.



Implementation
    public function get duration():Number

time

property 
time:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The time in seconds.



Implementation
    public function get time():Number
Constructor Detail

TimelineMarker

()Constructor
public function TimelineMarker(time:Number, duration:Number = NaN)

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Constructor.

Parameters
time:Number — Time in seconds.
 
duration:Number (default = NaN) — The duration in seconds. Default to NaN, which indicates that the duration is undefined.