13.07.2015 Views

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

Quicktime File Format (2012-08-14).pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Some Useful Examples and ScenariosAuthoring Movies with External Movie TargetsYou add a user data item of type 'plug' to the movie’s user data with its data set to"Movieid=MovieID"where the ID is a signed long integer.The QuickTime plug-in additionally supports EMBED tag parameters, which allow you to override a movie’sname or ID within an HTML page.Target Atoms for Embedded MoviesQuickTime 4.1 introduced target atoms to accommodate the addition of embedded movies. These targetatoms allow for paths to be specified in a hierarchical movie tree.Target movies may be an external movie, the default movie, or any movie embedded within another movie.Targets are specified by using a movie path that may include parent and child movie relationships, and mayadditionally include track and track object target atoms as needed.By using embedded kActionTarget atoms along with parent and child movie target atoms, you can buildup paths for movie targets. Note that QuickTime looks for these embedded kActionTarget atoms onlywhen evaluating a movie target, and any movie target type may contain a sibling kActionTarget atom.Paths begin from the current movie, which is the movie containing the object that is handling an event. Youmay go up the tree using a kTargetParentMovie atom, or down the tree using one of five new child movieatoms. You may use a kTargetRootMovie atom as a shortcut to get to the top of the tree containing anembedded movie and may use the movieByName and movieByID atoms to specify a root external movie.The target atoms are:●●kTargetRootMovie (leaf atom, no data). This is the root movie containing the action handler.kTargetParentMovie (leaf atom, no data). This is the parent movie.Note that there are five ways to specify an embedded child movie. Three of them specify movie track properties.Two specify properties of the currently loaded movie in a movie track.●●●●kTargetChildMovieTrackName. A child movie track specified by track name.kTargetChildMovieTrackID. A child movie track specified by track ID.kTargetChildMovieTrackIndex. A child movie track specified by track index.kTargetChildMovieMovieName. A child movie specified by the currently loaded movie’s movie name.The child movie must contain movieName user data with the specified name.<strong>2012</strong>-<strong>08</strong>-<strong>14</strong> | © 2004, <strong>2012</strong> Apple Inc. All Rights Reserved.346

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!