Hi,
I'm trying to understand the behaviour of the code below, the resultant display (I get two img2.png's on screen as opposed to one of each) is not as I expect.. When viewing the debug window however, everything appears as it should. What am I doing wrong?
I'm also wondering if someone could point me in the right direction on information regarding correct usage of the function removeitem().
<item distractors>
/1 = "img1.png"
/2 = "img2.png"
</item>
<item one>
</item>
<item two>
</item>
<trial displaysomething>
/ontrialbegin = [item.one.item = item.distractors.item(1);
item.two.item = item.distractors.item(2)]
/stimulusframes = [1=s1,s2]
/validresponse = (57)
</trial>
<picture s1>
/items = one
/position = (25%, 25%)
</picture>
<picture s2>
/items = two
/position = (25%, 50%)
</picture>
Thanks
Marcel