Interactivity is one of the most captivating topics for today's online community. It is a fast-growing field pushed by the rapid development and dispersion of Java, Shockwave, Flash, and QuickTime. While several good books are available about the interactive capabilities of Java, Shockwave, and Flash, until now there hasn't been a book about QuickTime interactivity. A logical follow-up to QuickTime for the Web, this eagerly awaited book by Matthew Peterson details the power of QuickTime's wired media technology and provides a resource for professionals developing and deploying interactive QuickTime content. This content can extend far beyond simple movies-it can act as application user interfaces, educational multimedia, scientific display panels, musical instruments, games and puzzles, etc. , and can interact with you, your browser, a server, or with other movies.
- Describes concepts and techniques of interactivity applicable to technologies beyond QuickTime-including Flash.
- Features real-world, hands-on projects of progressive sophistication allowing developers to start with a project appropriate to their own level of QuickTime experience.
Inhaltsverzeichnis
1;Front Cover;1 2;Interactive QuickTime: Authoring Wired Media;2 3;Copyright Page;5 4;Contents;6 5;Foreword;16 6;Preface;19 6.1;What This Book Is and Is Not;19 6.2;How to Read This Book;20 6.3;Explorations;22 7;Acknowledgements;23 8;Part I: Background Information;26 8.1;Chapter 1. What Is Interactive QuickTime?;28 8.1.1;Explorations ;32 8.2;Chapter 2. How Do You Play an Interactive Movie?;35 8.2.1;Explorations ;39 8.3;Chapter 3. The Stuff QuickTime Is Made Of;44 8.3.1;What Are Atoms;44 8.3.2;Tracks;46 8.3.3;Samples;46 8.3.4;Sprite Track Samples;46 8.3.5;Sprites;47 8.3.6;Scripts;48 8.3.7;How to Make Interactive Sprite Tracks;51 8.3.8;Explorations;53 9;Part II: Wiring Existing Movies;54 9.1;Chapter 4. Getting Familiar with the Tools;56 9.1.1;Explorations;66 9.2;Chapter 5. Customizing the Presentation of an Existing Movie;68 9.2.1;Explorations;74 9.3;Chapter 6. Digital Rights Management;76 9.3.1;Explorations;82 9.4;Chapter 7. Adding DVD Features;84 9.4.1;Explorations;92 10;Part III: Sprite Worlds;94 10.1;Chapter 8. A Simple World;96 10.1.1;Explorations;108 10.2;Chapter 9. Talking with Sprites;110 10.2.1;Targets;110 10.2.2;Properties;112 10.2.3;Actions;114 10.2.4;Custom Actions;116 10.2.5;Custom Properties;119 10.2.6;Rotation Behavior;120 10.2.7;Explorations;122 10.3;Chapter 10. Collision Detection;124 10.3.1;Bounds Overlap;127 10.3.2;Radius Overlap;131 10.3.3;Point Testing;134 10.3.4;Explorations;140 10.4;Chapter 11. Cel-Based Animation;142 10.4.1;Picasso;143 10.4.2;Interactive Door;145 10.4.3;Looping Images;147 10.4.4;Inchworm Technique;151 10.4.5;Onionskinning;155 10.4.6;Coordinated Animation;157 10.4.7;Cel-Based Pushing;158 10.4.8;Cel-Based Dragging;160 10.4.9;Explorations;161 10.5;Chapter 12. User Interaction;164 10.5.1;Pop Quiz;165 10.5.2;Mouse Event Definitions;166 10.5.3;Checkbox;170 10.5.4;Mouse Hit Testing;172 10.5.5;Mouse Enter and Mouse Exit;173 10.5.6;Mouse Moved;175 10.5.7;Drag Manager;175 10.5.8;Double Clicks;179 10.5.9;Focus;180 10.5.10;Key Events;181 10
.5.11;Keyboard Managers;186 10.5.12;Explorations;187 10.6;Chapter 13. Scripted Motion;190 10.6.1;Linear Interpolation;191 10.6.2;Easing In and Out;192 10.6.3;Motion along a Mathematical Function;194 10.6.4;Circular Motion;198 10.6.5;Paths;201 10.6.6;Spline Interpolation;204 10.6.7;Explorations;207 10.7;Chapter 14. Scripted Stretching;210 10.7.1;Bar Graphs;211 10.7.2;Drawing Lines;213 10.7.3;Perspective;216 10.7.4;Explorations;218 10.8;Chapter 15. Cloning Sprites;222 10.8.1;Making New Sprites;222 10.8.2;Cloning Sprites with Behavior;224 10.8.3;Disposing of Sprites;226 10.8.4;Explorations;228 10.9;Chapter 16. Modeling Physics;230 10.9.1;Forces;230 10.9.2;Friction;233 10.9.3;Collisions;235 10.9.4;Explorations;237 11;Part IV: User Interfaces;240 11.1;Chapter 17. Buttons;242 11.1.1;Simple Buttons;242 11.1.2;Checkboxes;246 11.1.3;Components;248 11.1.4;Radio Buttons;249 11.1.5;Explorations;252 11.2;Chapter 18. Sliders;254 11.2.1;Explorations;258 11.3;Chapter 19. Text Input;260 11.3.1;Filtering the Input;265 11.3.2;Text Field Component with Border;266 11.3.3;Recursive Connections;268 11.3.4;Multilined Text Areas;268 11.3.5;Password Fields;269 11.3.6;Explorations;272 11.4;Chapter 20. Menus;274 11.4.1;Explorations;279 12;Part V: Multimedia;280 12.1;Chapter 21. Audio and Video;282 12.1.1;Audio;284 12.1.2;Video;287 12.1.3;Loading Linear Media;292 12.1.4;Explorations;293 12.2;Chapter 22. Effects;296 12.2.1;Codec Effects;299 12.2.2;Explorations;301 12.3;Chapter 23. Image Overrides;302 12.3.1;Explorations;306 12.4;Chapter 24. MIDI Instruments;308 12.4.1;SoundFonts;314 12.4.2;Sampled Instruments;315 12.4.3;Explorations;318 12.5;Chapter 25. Text Tracks;320 12.5.1;Scrolling Ticker Tape;320 12.5.2;LCD Clock;322 12.5.3;Text Links (Hotspots);330 12.5.4;Searching Text Captions;333 12.5.5;Explorations;340 12.6;Chapter 26. Flash Tracks;344 12.6.1;Controlling QuickTime from a Flash Button;345 12.6.2;Controlling a Flash Button from QuickTime;347 12.6.3;Controlling Flash Movie Properties;350
12.6.4;Explorations;351 12.7;Chapter 27. QTVR;354 12.7.1;Controlling VR;357 12.7.2;Multinodes, Hotspots, Cubics, and Maps;360 12.7.3;Explorations;364 12.8;Chapter 28. MovieTracks;368 12.8.1;Explorations;375 12.9;Chapter 29. Third-Party Tracks;378 12.9.1;Explorations;383 12.10;Chapter 30. Other Tracks;384 12.10.1;Video Tracks in Disguise;384 12.10.2;Text Tracks in Disguise;384 12.10.3;Timecode Tracks;385 12.10.4;Modifier and Tween Tracks;386 12.10.5;QuickDraw 3D Track;388 12.10.6;Streaming Tracks;388 12.10.7;Hint Tracks;388 12.10.8;PDF Tracks;389 12.10.9;Fast Tracks (FT);389 12.10.10;Cursor Tracks;389 12.10.11;WorldWideVariables Tracks;391 12.10.12;Base Tracks;391 12.10.13;Explorations;392 13;Part VI: Communicating with the World;394 13.1;Chapter 31. XML and QTLists;396 13.1.1;QTLists versus XML;398 13.1.2;Working with QTLists;402 13.1.3;Explorations;407 13.2;Chapter 32. Loading Data;410 13.2.1;Explorations;413 13.3;Chapter 33. Setting Up a QTList Server;416 13.3.1;About Tekadence Magik;416 13.3.2;Setting Up the Test Server;417 13.3.3;Explorations;419 13.4;Chapter 34. Sending Data to a Server;422 13.4.1;Launch the Server;422 13.4.2;Explorations;428 13.5;Chapter 35. Exchanging QTLists;430 13.5.1;Explorations;439 13.6;Chapter 36. Communicating with the Browser;442 13.6.1;Passing Data into a Movie;446 13.6.2;Explorations;448 13.7;Chapter 37. Dynamic Media;452 13.7.1;Explorations;461 13.8;Chapter 38. Intermovie Communication;464 13.8.1;IsMovieActive;469 13.8.2;Explorations;469 13.9;Chapter 39. Communicating with Applications;472 13.9.1;Explorations;475 14;Appendices;478 14.1;Appendix A. Useful Numbers;480 14.2;Appendix B. Math Functions;488 14.3;Appendix C. String Functions;496 14.4;Appendix D. QTList Functions;502 14.5;Appendix E. Programming Techniques;508 14.5.1;Spatial Programming;508 14.5.2;Breaking a Loop;509 14.5.3;Exception Handling and Error Detection;510 14.5.4;Functions, Methods, and Subroutines;511 14.5.5;Recursion;512 14.5.6;Numerical Correction;513 14.5.7;D
ividing by Zero (Epsilon Correction);514 14.5.8;Random Number Generation;516 14.5.9;Dictionaries and Lists;517 14.5.10;Debugging;518 14.5.11;Profiling;519 14.5.12;Lazy Constructors;520 14.5.13;Parallel Processing;521 14.5.14;Sustainable Hacking;523 14.5.15;Dynamic Script Evaluation;523 14.5.16;Collaboration;524 14.6;Appendix F. Sprite and Track Geometry;526 14.6.1;Coordinate System;526 14.6.2;Spatial Properties;527 14.6.3;Distance between Two Tracks;529 14.6.4;2.5 Dimensions;529 14.6.5;Screen Updates;530 14.6.6;Matrix Transformations;530 14.6.7;Area of Sprites;538 14.6.8;Sprite Center;539 14.6.9;Two Points;540 14.6.10;A Point and a Line;540 14.6.11;Two Lines;541 14.6.12;Regular Polygons;541 14.6.13;Triangles;541 14.6.14;Circles;541 14.6.15;Spheres;542 14.7;Appendix G. Graphics Modes;544 14.8;Appendix H. Codecs;546 14.9;Appendix I. General MIDI;548 14.9.1;Instruments;548 14.9.2;Drum Kits;550 14.9.3;Controllers;551 14.10;Appendix J. Components;552 14.11;Appendix K. QTText Tags;556 14.12;Appendix L. HTML Embed Parameters;560 14.12.1;Embed Attributes;561 14.13;Appendix M. Wired Actions;564 14.14;Appendix N. Wired Constants;572 14.15;Appendix O. ASCII Table;578 14.16;Appendix P. Wired Sprites with Java;582 14.17;Appendix Q. Web Links;584 14.18;Appendix R. Contributing Developers;588 14.19;Appendix S. CD Contents;590 15;Glossary;594 16;Index;600 17;About the Author;623 18;QuickTime Developer Series;624