#22000/12/10 17:46:08
以直线运动(loch:100------loch:200之间)作个例子:
global stopok
on mouseenter me
stopok=1
sprite(1).member="圆形"
end mouseenter
on mouseleave me
stopok=0
sprite(1).member="方形"
end mouseleave
on enterframe
if sprite(1).loch>200 then
sprite(1).loch=95
end if
if stopok=0 then
sprite(1).loch=sprite(1).loch+5
end if
end enterframe
on exitframe
go to the frame
end exitframe