02.04.2013 Views

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

QuickTime Kit Programming Guide - filibeto.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C H A P T E R 2<br />

Building a Simple QT<strong>Kit</strong>Player Application<br />

7. Now you’re ready to specify a movie to play and edit. In the QTMovieView Info Attributes pane,<br />

click the File button.<br />

8. In the open dialog that appears, select a <strong>QuickTime</strong> movie and click Open. Your player window<br />

will look similar to the one illustrated in Figure 2-14. Note that the movie in Figure 2-14 has movie<br />

editing enabled, as shown by the appearance of the slider in the control bar.<br />

Figure 2-14 A <strong>QuickTime</strong> movie in your window<br />

9. If you want to modify the attributes of the window in any way, you can open the NSWindow<br />

Info pane. To add texture to the movie window, for example, select the Window icon in the<br />

MyDocument.nib window and press Command-1 to open the NSWindow Info window with the<br />

Attributes pane displayed. Select the “Has texture” option, as shown in Figure 2-15.<br />

Figure 2-15 The <strong>QuickTime</strong> movie object window with texture added<br />

10. Save the MyDocument.nib file and quit Interface Builder.<br />

Working With the QT<strong>Kit</strong> Palette 25<br />

2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.

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

Saved successfully!

Ooh no, something went wrong!