Director MX2004 Memory Leak
Director MX2004 leaks memory during publishing and within the
This appears to be associated with the mere presence of
crashes. Increasing the publishing Extra memory brings temporary relief,
until the project grows larger, when no amount of Extra memory will help
but after some time, enough leaks will have occurred to cause a crash
due to exceptions like:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x17808000
The memory leak is caused by a bug in Director MX2004 memory reclamation.
its garbage collector periodically. However, this never happens.
So you have to call the garbage collector yourself periodically in your script.
Call the garbage collector using:
You are probably familiar with the
object; but the
function is undocumented.
To prevent Director MX2004 crashes during publishing, open the
_system.gc() just before you publish a projector.
A loop such as
does not increment
the loop never terminates.
This occurs occationally when BuddyApi is used, but is most likely a bug in MX2004.
explicitly seems to solve the problem.
In a Windows projector created on a Mac OSX Director MX 2004, the FileName property
of a Member object is blank.
In a Windows projector created on a Mac OSX Director MX 2004, scripts that
attempt to access the FileName property of a Member object will read a blank.
The same scripts in the corresponding OSX projector will be able to read the
correct file name in HFS format.
How To Make A Movie With XTras On Mac Director Run On Windows Director
On the Mac, while building a Director projector for Windows which includes BuddyApi and Buddy File,
Director complains that it cannot find BuddyApi or Buddy File.
This error occurs for the Windows projector because, not only must the Xtras be selected
to be include in the projector, a configuration file in Director also has to be edited.
What To Do
The following need be done:
startMovie() and stopMovie() are Not the First or Last Things To Run In A Movie
Some tasks must be done before a movie starts, or after a movie ends. As Director did not
guarantee that the
script actually runs before anything starts,
video clips may start playing before
can do anything.
Do what you need to do by using
in separate, dummy movies, which will _movie.go the actual movie you want to show.
Windows Projector Cannot Screen QuickTime Clips
You have completed your Director project and the Mac projector is working beautifully;
now you run the Windows projector, and QuickTime clips don't start.
It is true. QuickTime clips do not play on Windows.
Download and install QuickTime from Apple.
The '@' Movie Path Sometimes Does Not Work In BuddyApi
The '@' movie path sometimes does not work in BuddyApi.
The '@' movie path sometimes does not work in BuddyApi, or it may work most of the time
and not work in a projector.
Replace the '@' method with
133, New Bridge Road #24-01
Chinatown Point S(049513) •
Tel: 6-552-6826 •
Copyright Bumble Bee Laboratories Pte. Ltd. July 2020