I am testing some parts of one of my iPad apps in Livecode Web.
Why doesn't this work in Web?
Code is in grc "w1"
Code: Select all
on mouseup
send drawline to me in 1 millisec
end mouseup
on mousedown
grab me
send drawline to me in 1 millisec
end mousedown
on mousemove x,y
if the mouseloc is within the rect of grc "w1"
then
send drawline to me in 1 millisec
end if
end mousemove
on drawline
lock screen
put the loc of grc "w1" into tLoc1
put the loc of grc "s1" into tLoc2
set points of grc "l1" to tloc1 & return & tLoc2
relayer grc "l1" to back of this card
unlock screen
end drawline
William