NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A AMTPE01
Text Files in Apple Media Tool


The Apple Media Tool and Apple Media Tool Programming Environment products have been discontinued. For more information check out: AMT/PE Discontinued.

Q: How do I preload a text file in the Apple Media Tool, since Moviehandler/Moviesupplier seems to be the only class that has the Preload field?

A: Text is always preloaded. At OnScreen, it opens the text file, allocates memory, and reads the entire text file.

Although pictures don't have a Preload field, if you replace a PICTURECLIENT with a BITMAPCLIENT, and the corresponding PICTURESUPPLIER with BITMAPSUPPLIER, you are effectively preloading the PICT into RAM. This is what Apple Media Tool does when you choose preload for Pictures. In addition, WAV audio files are always preloaded.

[Oct 06 2000]


Developer Documentation | Technical Notes | Development Kits | Sample Code