He had asked on the use-list if an openCard message is sent before or after a visual effect runs its course. I made a stack with two cards. On card 1, a button with:
Code: Select all
global tStartTime
on mouseUp
put the ticks into tStartTime
visual effect "checkerBoard"
go cd 2
end mouseUp
Code: Select all
global tStartTime
on openCard
put the ticks - tStartTime into fld 2
end openCard
If I instead use "preOpenCard" I always get 0 ticks. So "openCard" is sent after the visual effect finishes. I find this counterintuitive, but at least the fact should be somewhere in the dictionary, best in the "visual effect" page.
Craig