Packagevegas.media.subtitles
Classpublic class Captions
InheritanceCaptions Inheritance Object

This tool find a specific Caption object in a Vector of Captions with a specific time value.



Public Properties
 PropertyDefined By
  captions : Vector.<Caption>
The Vector of all Caption objects to bufferize.
Captions
Public Methods
 MethodDefined By
  
Captions(captions:Vector.<Caption> = null)
Creates a new Captions instance.
Captions
  
find(time:Number):Caption
Find a Caption with the specified time value.
Captions
Property Detail
captionsproperty
public var captions:Vector.<Caption>

The Vector of all Caption objects to bufferize.

Constructor Detail
Captions()Constructor
public function Captions(captions:Vector.<Caption> = null)

Creates a new Captions instance.

Parameters
captions:Vector.<Caption> (default = null) — The Vector of all Caption objects to bufferize.
Method Detail
find()method
public function find(time:Number):Caption

Find a Caption with the specified time value.

Parameters

time:Number — The time in seconds to find a Caption object.

Returns
Caption — A Caption object if it's find in the Vector of captions with the passed-in time value.