Director Help

chapterCount()

Usage

-- Lingo syntax
dvdObjRef.chapterCount({intTitle})

// JavaScript syntax
dvdObjRef.chapterCount({intTitle});

Description

DVD method; indicates the number of available chapters in a title.

Parameters

intTitle Optional. An integer that specifies the title that contains the chapters to count. If omitted, chapterCount() returns the number of available chapters in the current title.

Example

This statement returns the number of chapters in the current title:

-- Lingo syntax
trace (member(1).chapterCount)-- 17

// JavaScript syntax
trace (member(1). chapterCount);// 17

See also

chapterCount, DVD