Ah.
Well, if you switch the scripts, so in the card script you have:
Code: Select all
on mouseUp
set the yourProp of btn "b1" to random(99)
end mouseUp
And in the button (named "b1") script:
Code: Select all
setprop yourProp newVal
answer newVal
end yourProp
Since the property you are setting is directed to the button, it will trigger a setProp control structure and be trapped by the handler in that button. In a sense, you might think of it as "sending" the setProp trigger to the button by setting the property of that button, down the message path (from card down to button) instead of up.
Craig Newman