Hi Dave,
I got another problem. Please help!
I need a fixation cross before each trial. So I changed stimulusframs into stimulustims. But now it turned out very weird. It showed a blank page after I click the picture and the frame stayed after the trial together with the fixation cross.
<trial picture1>
/ inputdevice = mouse
/stimulustimes = [0=ready; 700=left,right,targetborder,left1,target1,right1,done]
/ validresponse = (left1, right1,done)
/ontrialend = [if(trial.picture1.response=="left1")shape.left.color=red else shape.left.color=black]
/ontrialend = [if(trial.picture1.response=="right1")shape.right.color=red else shape.right.color=black]
/ branch = [if(trial.picture1.response!="done")trial.picture1]
</trial>