Try "end repeat" instead of "set repeat"
Florian
Madeline Booth wrote:
>
> Thanks Ritchie. I've corrected it.
>
> However, I now receive another debugger window saying
>
> Script error: Handler definition expected
>
> repeat?with i = 1 to 100
>
> I need an answer urgently. Please help.
>
> 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
> set repeat
> set 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!]