you never reset the loc of the sprite you are moving...

At 04:44 PM 12/18/2001 -0500, you wrote:
>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!]
>
>
--
Dale Withroder       PH: 1-888-233-8469
[EMAIL PROTECTED]                       FAX: 1-800-669-1132
multimedia underling         http://www.pro-mentoring.com
Professional Mentoring           ICQ:  13411058
--
I like pigs. Dogs look up to us. Cats look down on us. Pigs treat us as
equals.
          �Sir Winston Churchill


[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