QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
C H A P T E R 6<br />
Adding Multimedia Playback Capability<br />
8. Drag a button from the Cocoa-Controls palette into the upper right corner of the window. Name<br />
the button Show Movies and specify its attributes, as shown in Figure 6-7.<br />
Figure 6-7 Button attributes<br />
9. Create an action doSetMovies: for the Show Movies button in the upper right hand corner of<br />
the window. Double-click the ViewTestsController object. Click the actions pane. Click the Add<br />
button to add an action doSetMovies:.<br />
10. Wire the Show Movies button to the doSetMovies: action. Click t he Show Movies button and<br />
press the Control key. Click-drag from the button to the ViewTestsController object. In the Info<br />
window for the ViewTestsController object, click the Connect button.<br />
106 Constructing The Multimedia Playback Engine<br />
2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.