E.g.
<values>
/ mypictype = 1
</values>
<block myblock>
/ trials = [1=mypage; 2=mytrial]
</block>
<surveypage mypage>
/ questions = [1=q1]
</surveypage>
<radiobuttons q1>
/ caption = "I would like to see a picture of a ..."
/ options = ("cat.", "dog.")
</radiobuttons>
<trial mytrial>
/ ontrialbegin = [if (radiobuttons.q1.response=="cat.") values.mypictype = 1]
/ ontrialbegin = [if (radiobuttons.q1.response=="dog.") values.mypictype = 2]
/ stimulusframes = [1=mypic, myword1, myword2]
/ validresponse = (57)
</trial>
<picture mypic>
/ items = ("catpic.jpg", "dogpic.jpg")
/ select = values.mypictype
/ size = (40%, 40%)
</picture>
<text myword1>
/ items = ("Hi,")
/ txbgcolor = (transparent)
/ position = (50%, 35%)
</text>
<text myword2>
/ items = ("Kitty!", "Doggie!")
/ position = (50%, 65%)
/ txbgcolor = (transparent)
/ select = values.mypictype
</text>