This content has been marked as final. Show 4 replies
The file located here:
click on keyframePlayer_Projector_041008a.dir
illustrates the problem I am having. It seems that accessing the keyframePlayer from the timeline causes the problem. Anyone know what's going on here?
This .zip file ( http://www.blueapplestudio.com/Director/keyframePlayer_Error.zip) contains an .exe and the original Director file that shows the error better than the previous file. There is nearly nothing in this file except for the 3D object, a movie script applying the keyframePlayer modifier, and a trace statement.
Anyone know why closing the projector causes an error?
How do you manually free memory when a projector is closed?
A senior programmer here took a look at this problem and suggested that the problem had to do with whatever the projector is trying to do at shutdown. When it’s closed, it must be trying to access something that isn’t there, or it’s doing something in the wrong order. He recommended manually de-allocating memory somehow.
How would I do this in the example .dir I provided a link to? There is a onCloseWindow handler… do I need to use that somehow? Do I “delete” the 3D object, or just remove the keyframePlayer modifier from it?
Again, to see the problem simply open the projector and close it. To get rid of the error, comment out the trace statement on frame 2 that is outputting the playlist.
Any help is appreciated.
Manually removing the keyframePlayer modifier inside of a stopMovie function seems to stop the error from occurring.