Creating a document that contains synchronized players

You can create a document that contains several synchronized media players by creating a specialized view class. In the constructor or initialize method for the specialized view, you create presenters for each of the players and synchronize them all to the same clock. To create a document with multiple synchronized players:

  1. Create presenters for each player.
  2. Determine which player you want to synchronize to and create a syncable clock surrogate that references the clock for that player.
  3. Synchronize the remaining players to the first, using the syncable clock surrogate and the appropriate offsets.
  4. Adopt the appropriate presenter view into the hierarchy.

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker