In my debugger this script runs allright.
When parsed in a framescript just to test
Win 98 dir 8
--CODE
  repeat with i = 1 to 100
    repeat with sprNum = 15 to 25
      set the LocH of sprite sprNum = ( the LocH of sprite sprNum) -1
    end repeat
    end repeat
--/CODE
So have you actually put it inside a handler?

on moveMySprites
  repeat with i = 1 to 100
    repeat with sprNum = 15 to 25
      set the LocH of sprite sprNum = ( the LocH of sprite sprNum) -1
    end repeat
    end repeat
end

____________________________________________
Mikael Wir�n
Knowledge Network
Klubbacken 30
129 39 H�GERSTEN
Tel: +46-(0)8-646 24 31
Mob: +46-(0)709-15 24 30
Mail: [EMAIL PROTECTED]
Web: HTTP://www.knowledgenetwork.se
____________________________________________


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Madeline Booth
> Sent: den 13 september 2001 12:13
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> Re: Moving icons with a mouseclick
>
>
> Thanks Mikael
>
> I checked my script.
>
>   The debugger window still says :
>
> Script error: Handler definition expected
>
> repeat?with  i = 1 to 100
>
> I need an answer urgently. Please help. I can't figure out what is my
> mistake.
>
> Thanks very much!
>
> Madeline
>
>
>
> >
> >
> >original message:
> >
> >Hi, list,
> >
> >I have a slight problem.
> >
> >How do I create a screen which stretches into the next screen?
> >
> >I line up a number of clickable icons, but at the end of the
> >screen, there
> >are more icons to add, so I place an arrow at the end of the
> >row of icons.
> >On clicking on this arrow, the screen rolls over to the next
> >page where
> >there are more icons on the same line (something similar to a
> >time-line of
> >events).
> >
> >
> >I know I have to create a behavior on the arrow to animate it
> >so that the
> >behavior can alter the LocH property of the icon sprites in a
> >nested repeat
> >loop.
> >
> >
> >the code I have written is:
> >
> >repeat with i = 1 to 100
> >repeat with sprNum = 15 to 25
> >set the LocH of sprite sprNum = ( the LocH of sprite sprNum) -1
> >end repeat
> >end repeat
> >
> >end
> >
> >
> >_________________________________________________________________
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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