I'm trying to understand how are the frames loaded? If at 55MB max for the all 6 frames, does it mean memory is automatically cleared for each frame before next loads? How does it affect CPU? Thank you.
Printable View
I'm trying to understand how are the frames loaded? If at 55MB max for the all 6 frames, does it mean memory is automatically cleared for each frame before next loads? How does it affect CPU? Thank you.
When you go from a frame to another one, CF removes from the memory the objects/graphics/sounds of the first frame that are not in the second one.
In the HTML5 runtime there is an option to load everything at start if you want, in this case the graphics and sounds are not deleted when you jump to another frame.
Just to piggyback on this question. Is there any benefit to checking global objects in terms of performance? Would checking global arrays give the arrays more memory to work with, or is it simply a cross-frame method of using objects?
No benefit, it's just a way to keep data between frames.
Yves, thank you for your info
Ryan, glad for your questions to let me understand better