I am working on a CUT project on D8 to be CD delivered. The structure of the
project is 13 separate movies (2-10mb) each has its own external audio cast
(10-15mb of mp3 [each mp3 is 50-300k] and a few cue point timed wav files
[1-2mb]), common shared behavior and graphics (small) cast, and an internal
graphics cast (roughly 10ish mb).
Movie contain Flash elements (no more than 2 playing on the stage at once;
and only at the beginning of the movie), 32 bit graphics with alpha-channels
(295x368 425k avg. size).
Our lowest machine is Pentium2 233mhz at 32mb. Playback performance is
acceptable, but the program freezes after using it for 10 screens (200
frames or so).
I am using the following code/settings to manage the memory
loading/unloading:
- Casts set to load when needed (individual members left at Normal unload)
This code is used, starting on the 3rd page, just before user is prompted to
advance to the next page:
on exitFrame me
--use to clear memory of previously used frames
--use within markers that are the third marker or later...
--(not the first two markers of the movie)
if (marker(-1) - 1) > 0 then
unload marker(-2),(marker(-1) - 1)
end if
if (marker(1) - 1) > 0 then
preload marker(-2),(marker(-1) - 1)
else if (marker(1) - 1) > 0 then
unload marker(1),(marker(2) - 1)
end if
end
This code is used at the end of chapters, just before returning into the
main menu movie:
unloadMovie the movieName
I think the crashes may be related to memory and would like to know how to
fix it. The crashes are not wanted, any help would be greatly apreciated.
Thanks in advance,
Todd Reynolds
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]