Problems with Repeat - PLZ HELP

Josh Dye Zzyzx at Relia.Net
Fri May 10 22:10:01 EDT 2002


Hello, I am tiring to get this to work. I'm basically tiring to do a Slide
Show effect with some pictures. There are 33 pictures in all, and all of the
pictures are numbered like "1.jpg" and "2.jpg" and so on... I'm tiring to do
it with the Repeat function, but I don't know how to get it to work with
having it doing pictures etc... Here is a code I tried...

on mouseup
  repeat with x = 1 to 33
    show image "(x).jpg"
    put "(x)" into fld "Pic"
    wait (The text of fld "Wait") seconds with messages
    hide image "(x).jpg"
  end repeat
end mouseup

No luck, got any ideas?


 - Josh Dye




More information about the use-livecode mailing list