Hey Grim,

> I've got this initiating the timeout, with a property called pBlinker
>
> Pblinker = timeout("ex_blinker").new(2000, #blinkThem, me)

>
> YET nothing on blinkThem gets initiated. I've got a slew of
> stubbed 'puts'
> just to get SOMETHING....to no avail...

Ok, I just copied and pasted your code into a barebones movie, attached to a
shape sprite, with a "put blinking!" on the #blinkThem handler.

It was blinking all right.

-- Welcome to Director --
-- "Blinking!"
-- "Blinking!"
-- "Blinking!"
-- "Blinking!"
-- "Blinking!"
-- "Blinking!"
-- "Blinking!"

So your code is alright, it must be something else interfering.


1. Are you absolutely sure your handler is named correctly? No spelling
mistakes?

2. Try a good old "sendSprite" to see if your blink handler will run then.

3. Is it a one-sprite behavior, or did you attach it to multiple sprites?
If it's the latter, then you have a naming conflict: one "ex_blinker" timer
replaces the other in the timeOutList, despite being attached to a property.
The workaround for that is to give it a non repeating name, such as
"ex_blinker" & random(100000), or simply "ex_blinker" & me.spriteNum

4. on TimeOut - I see you've already run in to that one. There's definitely
a conflict going on between those two, although the "timeOutScript" seems to
be working for me. However, if you do have a timeOutScript running, try
commenting it out for a while, see if that helps.

5. Is something killing your timeOut? By default, timeOuts are not
persistent: They get disposed of when the movie ends (the movie, not just
the projector).

6. Other (???)

I hope that any of these proves helpful.

Regards,
Karina Steffens,
Lead 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!]

Reply via email to