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

--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Kerry Thompson
> Sent: Thursday, February 15, 2001 6:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Playlist question
>
>
>
> >a global, or a property of a global object. don't know of any automatic
> >way.
>
> I think that's it--I've created a new audio manager object, and
> added it to
> the actorList so it gets the stepFrame commands. The actorList persists
> from movie to movie, so I think that will do it. I'll report back when I
> get back from skiing in Vermont :-)
>
>
> Cordially,
> Kerry Thompson
> Learning Network
>
>
> [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!]
>


[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!]

Reply via email to