Hi. I have a simple problem. I am trying to present
a stimulus for a brief period of time but the code I'm
using is not controlling that period. I have an on
MouseDown script in frame 1 that directs the playback
head to frame 2, where I select the color of the
stimulus. The stimulus ends up being presented
briefly but not for the amount of time I specified.
Here's my Frame 2 script:
on beginSprite me
startTimer
pickColor
end
on pickColor
chroma = random (3)
case (chroma) of
1: sprite(1).color = rgb(0,0, 255)
2: sprite(1).color = rgb(0,255,0)
3: sprite(1).color = rgb(255,0,0)
end case
updateStage
if the timer < 60 then
go to the frame
else
go to frame 1
end if
end
According to the debugger no stimulus is presented
until the pickColor handler is finished and the
program goes to the end command in the beginSprite
handler. And the program never goes back to frame 1.
This is frustrating.
Paul Schulman
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
[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!]