<please stand by and await further instructions. or at least ignore
multiple messages. don't know what's happening. i want my mac back!>
yes, the remove would need to look like this:
on remove me
if objectP(pSpecialTimer) then
timeOut("theName").forget()
end if
end remove
using the name you defined earlier.
very interesting idea though. it won't crash if the handler name doesn't
exist, but i didn't realize that would keep the object that it's
referencing. that sounds like it could be pretty powerful...
--bh
"Mark R. Jonkman" wrote:
>
> Hi Kerry
>
> If your using D8, then you can add a timeout object that is persistant and
> its owner being the audio controller object. That proceedure allows your
> objects to recieve all of the prepareFrame, exitFrame, startMovie,
> prepareMovie and other system level events. So in essence you could do
> something like this... (Extreme Warning this is email lingo not certified to
> work). The forget part may be wrong.. me apologies for making you RTM (note
> no f :-))
>
> property pSpecialTimer
>
> on new me
> pSpecialTimer = timeOut("theName").new(0, #someNonExistantHandler, me)
> pSpecialTimer.persistant = true
> return me
> end new
>
> on startMovie me
> -- whatever Kerry wants to do
> end startMovie
>
> on stopMovie me
> -- whatever Kerry wants to do
> end stopMovie
>
> on remove me
> if objectP(pSpecialTimer) then
> pSpecialTimer.forget()
> end if
> end remove
>
> (Please note that remove is my custom destructor handler and its probably
> all screwed up... try reading the lingo dictionary if you want to get even
> more lost.
>
> Sincerely
>
> Mark
[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!]