Can anyone tell me what is wrong with this script or what is missing.
I need to have image scroll either + or - depending on the locV position.  I
am also looking at have the image increment in speed as it scrolls but
slowing down to a stop when it reaches a set locV.

global vSpeed,vPos,vDistance,vCible

on startMovie
  set vSpeed = 100
  set vPos = the locV of sprite 3
  set vDistance = vCible-vPos
end
on moveObject
  vCible = 362
  repeat while vPos <> vCible
    if vDistance> (vPos /10*9) then
--      vSpeed = vSpeed + 5
      set vPos = vPos + vSpeed
      updateStage
    end if
  end repeat
  end

Thanks


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to