I have been trying to do a small and very simple bit of coding based on what i am learning in the tutorials, however, in the first one it says that you can control the buttons from the stack code, rather than the button code itself!! That was fine and quite obvious ho to do it based on the way queries are sent from objects to cards to stacks ect, however when using multiple buttons on the same card that do very similar things i was a bit confused so tried to make a mockup to get it working, i thought i had it untill i noticed that if i click on the app somewhere other than a button i get a bug at line 2

this is my main stack code....
ok the last bit was just other bits i was trying, basically, i have 2 buttons, one label is big the other is small it then displays the sentance in the text field, but like i say, if i click on the running program somewhere other than the buttons it returns debug modeon mouseup
put the label of target into thiskey
put "jenny has a " & thiskey & " nose" into field 1
end mouseup
on gonext
go to next card
end gonext
on goback
go to previous card
end goback

i also have a clear text field button but i coded that directly in the button as it had a very differant job to the ret of the buttons.
hope you dont mind shedding some light on a very very novice question.
cheers
jon