Lorenz's question regarding images reminded me of a very important point for people 
trying out Revolution who are familiar with HyperCard or SuperCard:

Revolution loads everything in a stack into memory when you open the stack.

Loading images directly into your stacks can choke memory, especially on the Mac, 
where it's harder for an application to ask for more memory.

Fortunately, there's an answer. Instead of importing directly, load images by 
reference. It's easy: instead of using Import as Control->Image File... just use the 
command directly below it on the File menu: New Referenced Control->Image File... 
That's it. Now, instead of loading that image when you open the stack and holding onto 
it until you quit, the image is loaded only when it is displayed. Obviously, for small 
controls this might not be necessary, but large image files can quickly increase the 
memory your stack requires. 

This is described in the Revolution documentation, in the Encyclopedia -- go to any 
entry, and then search for either HyperCard or SuperCard, and scroll down to the 
heading Everything in memory:


Reply via email to