I'd use a timeout object that holds a property of the current date, and
say, every hour checks to see if todays date matches the property date.


On Tue, 4 Dec 2001, Matt Wells wrote:

> Well I need for the script to run all the time. so if the date were to
> change the movie would change even when idle. Is there a better way?
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, December 04, 2001 12:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Memory used by program ?
>
>
>
> Argh - on everyframe your making a new memory object - why are you even
> doing that?
>
>
> On Tue, 4 Dec 2001, Matt Wells wrote:
>
> > Im just wondering, I wrote this little parent script and it keeps using
> ram.
> > When I look at the memory Inspector the USED BY PROGRAM memory keeps going
> > up by 5k every second or so? ex... 6015k, 6020k to 6025k ... why?
> > At the end of the stepframe I called  --  the actorlist = []  -- ????
> > I thought by puring the actorlist it would solve this proplem?
> >
> > here is the script:
> >
> > -- start frame script
> > on exitFrame me
> >   go the frame
> >   new(script "list")
> > end
> > -- end frame script
> >
> >
> >
> > -- Start parent script
> > on new me
> >   add the actorlist, me
> > end
> >
> >
> >
> > on stepframe me
> >
> >   today = the systemDate
> >   tm = today.month
> >   td = today.day
> >   ts = today.year
> >
> >   tm1 = string(tm)
> >   td1 = string(td)
> >   ts1 = string(ts)
> >
> >
> >   member("theMonth").text = tm1
> >
> >   member("theDay").text = td1
> >
> >   member("theYear").text = ts1
> >   the actorlist = []
> >
> >
> > end
> > -- end parent script
> > thanks,
> > Matt
> >
> > [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!]
> >
> >
> > [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!]
> >
>
>
> [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!]
>
>
> [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!]
>


[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