Technical Q&As


AMT_PE 01 - Text Files in Apple Media Tool (1-May-95)


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.

Technical Q&As
Contents | Next Question