Just a late thought Jakob...
How can an object that is not added to the actor list be used in another
movie? Do I use a global to point to to the behaviors instance? The
timeOut, I guess, would keep it alive by referring to the objects
handler(which does not exist, ofcourse). But what if I need to send a
message to the object? How do I do that?
Regards,
Pranav
-----------------------------------------------------------
"Simply stated, it is sagacious to eschew obfuscation."
--Norman Augustine
At 15:28 +0530 01_04_26, [EMAIL PROTECTED] wrote:
<obliterated>
>Simply add the behavior to
>the actorList and then you can refer to it even from other frames or even
>movies. See this trick in action in the Multiuser connection behavior that
>ships in the library.
Yeah but these days I would forego the actorList and rather create a
timeoutobject calling back to the object that needs regular
frame-events, like so:
--timeOut(Name).new(period, timeOutHandler <,targetObject>)
timeOut(me && "eventRelay").new(0, #dummy, me)
<obliterated>
[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!]