What's wrong with this swiping code?
Posted: Tue Jan 08, 2013 2:26 am
I can't figure out why I'm getting this error on the below swiping code: "Execution error at line 5 (Operators-: error in right operand, character 15)
===============================================================
on mouseDown
put the mouseH into sStartH
end mouseDown
on mouseUp
if abs(the mouseH - sStartH) > 50 then
if the mouseH < sStartH then
go to next card
else
go to previous card
end if
end if
end mouseUp
=======================
Many thanks
===============================================================
on mouseDown
put the mouseH into sStartH
end mouseDown
on mouseUp
if abs(the mouseH - sStartH) > 50 then
if the mouseH < sStartH then
go to next card
else
go to previous card
end if
end if
end mouseUp
=======================
Many thanks