now i wrote in the code of the button
Code: Select all
move img "name" to the points of graphic line in 1 sec
if intersect(img "name", image "name1", "opaque pixels") then
hide img "name1"
end if
PLease how to fix this


Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
move img "name" to the points of graphic line in 1 sec
if intersect(img "name", image "name1", "opaque pixels") then
hide img "name1"
end if
Code: Select all
on mouseUp
put the points of grc "line" into tListPoints --
put the num of items of tListPoints into nbMax
put round(1000/nbMax) into tStepTime
repeat for each line tPoint in tListPoints
move img "name" to tPoint in tStepTime milliseconds
if intersect(img "name", image "name1") then
hide img "name1"
else
show img "name1"
end if
end repeat
end mouseUp