I had recently had a problem that was very much alike. The answer was simply
the sprite wasn't present in the score anymore because I jump to a frame in
which I didn't used the sprite. If that's what you do try to put
on endsprite me
timeOut("Shrink").forget()
end
into the sprites behaviour.
Hope it helps.
Alex
> -----Ursprüngliche Nachricht-----
> Von: Karina Steffens [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 8. November 2000 17:12
> An: Lingo-L (E-mail)
> Betreff: <lingo-l> TimeOuts behaving badly
>
> Hi list,
>
> I recently upgraded to D8, and started using the timeOut objects. But they
> seem to be very unpredictable, or maybe it's me not knowing how to use
> them...
>
> In the current movie, I put the code:
>
> on something me
> timeOut("Shrink").new(2000, #shrink, me)
> end
>
> with the handler "on shrink me" etc.
>
> It was working ok for a while, and then suddenly I started getting "object
> expected" errors.
>
> so I tested another timeOut in a new movie, which was working fine (a move
> handler this time), brought it over to the move I was working on - and
> got
> the same error.
>
> What can this be? Somthing must be interfering, but what?
> I have other sprite behaviours, a parent script (I tried deactivating it,
> but no result), and very basic movie scripts (instantiating the chid
> object,
> but that's commented out now), and the timeOut is in a sprite behaviour
> (and
> I didn't forget "me")
>
> Are there any known bugs, problems etc? Or do I just misunderstand the way
> they work?
>
> Thanks,
>
> Karina Steffens,
> Multimedia Designer/Programmer
>
> Martello Media Ltd.
> 4 Islington Avenue
> Sandycove
> Co. Dublin
>
> Tel: +353 1 2844668
> Fax: +353 1 2803195
> http://www.martellomm.ie
>
>
>
>
> [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!]