Lingo Dictionary > T-Z > trackType (cast member property)

 

trackType (cast member property)

Syntax

member(whichDigitalVideoCastmember).trackType(whichTrack)
trackType(member whichCastMember, whichTrack)

Description

Digital video cast member property; indicates which type of media is in the specified track of the specified cast member. Possible values are #video, #sound, #text, and #music.

This property can be tested but not set.

Example

The following handler checks whether track 5 of the digital video cast member Today's News is a text track and then runs the handler textFormat if it is:

on checkForText
	if member("Today's News").trackType(5) = #text then textFormat
end