Code: Select all
on RotateSpinner
if gKeepRotating is 1 then
put the angle of image "imgSpinner" of grp "grpSpinner" of this card into tAngle
put tAngle - 45 into tAngle
if tAngle < 0 then
put 315 into tAngle
end if
put the name of this card && tAngle
set the angle of image "imgSpinner" of grp "grpSpinner" of this card to tAngle
--send "RotateSpinner" to me in .1 second
send "RotateSpinner" to me in .1 second
end if
end RotateSpinner
Any ideas? I am thinking the "Send XXX to me in XXX seconds" is being blocked once I begin executing the various SQL subroutines..... So what is the proper way to approach a situation like this? I want the spinner to be updating while the app is busy, but if the animation is blocked it doesn't do me any good. haha As always, any tips are appreciated!