Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

New Wired Actions and Operands for Chapter Lists

The following new actions and operands allow you to have access to chapter names in the chapter track and their corresponding times in the movie.

They conceptually extend what you can do with kActionMovieGoToTimeByName. You can navigate through chapters by index to pick one and go to the time associated to it. You can get the name of a chapter from index, or get the index of a chapter from name.

Going To a Chapter by Index

The following actions go to the time associated to a chapter. The chapter is specified relative to the current chapter or by index.

kActionMovieGotoNextChapter = 1039, /* no params */

Changes the movie time to the start of the next chapter.

kActionMovieGotoPreviousChapter = 1040, /* no params */

Changes the movie time to the start of the previous chapter.

kActionMovieGotoFirstChapter = 1041, /* no params */

Changes the movie time to the start of the first chapter.

kActionMovieGotoLastChapter = 1042, /* no params */

Changes the movie time to the start of the last chapter.

kActionMovieGotoChapterByIndex = 1043, /* ( short index ) */

Changes the movie time to the start of the nth chapter



< Previous PageNext Page > Hide TOC


Last updated: 2002-07-01




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice