beautypg.com

Chapter 49: videoitem object, Videoitem.exporttoflv() – Adobe Extending Flash Professional CS5 User Manual

Page 538

background image

516

Last updated 5/2/2011

Chapter 49: VideoItem object

Inheritance

Item object

> VideoItem object

Availability
Flash MX 2004.

Description
The VideoItem object is a subclass of the

Item object

.

Method summary
In addition to the Item object methods, the VideoItem object has the following method:

Property summary
In addition to the Item object properties, you can use the following properties with the VideoItem object:

videoItem.exportToFLV()

Availability
Flash CS4 Professional.

Usage

videoItem.exportToFLV(fileURI)

Parameters

fileURI

A string, expressed as a file:/// URI, that specifies the path and name of the exported file.

Property

Description

videoItem.exportToFLV()

Exports the specified item to an FLV file.

Property

Description

videoItem.fileLastModifiedDate

Read-only; a string containing a hexadecimal number that represents the
number of seconds that have elapsed between January 1, 1970, and the
modification date of the original file (on disk) at the time the file was imported
to the library.

videoItem.sourceFileExists

Read-only; a Boolean value that specifies whether the file that was imported to
the Library still exists in the location from where it was imported.

videoItem.sourceFileIsCurrent

Read-only; a Boolean value that specifies whether the file modification date of
the Library item is the same as the modification date (on disk) of the file that was
imported.

videoItem.sourceFilePath

Read-only; a string that specifies the path to the video item.

videoItem.videoType

Read-only; a string that specifies the type of video the item represents.

This manual is related to the following products: