Irv Kalb

> Because of the problem with the actorList, many years ago, I wrote a
> replacement for the actorList which would solve the deletion problem.
> It's a manager which I called the FrameMgr.  The basic idea is that
> it is instantiated at the beginning of your movie, and it inserts
> itself into the actorList.  Anything that wants to be in get frame
> event notification, registers itself with the FrameMgr (using the
> mAdd) call.  When you register an object, it starts receiving
> mFrameEvent calls instead of stepFrame events.  You can delete any
> object by caling its mDelete method.  It does the right thing and
> ensures that objects are deleted correctly.  When you are ready to
> stop your program, call the FrameMgr's mCleanup method, and set the
> object reference of the FrameMgr to VOID.
> 
> I haven't used this in a long time, but I remember that it worked.
> It even allows you to remove an object from the FrameMgr in its own
> mFrameEvent method.
> 
> Enjoy:
> 
> Irv

Thanks a lot, but I'll need at least a month to delve into it and understand
of what is going on in that sophisticated code.

Peter the Great



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

Reply via email to