use-revolution digest, Vol 1 #986 - 7 msgsMSg # 7

MFitz53 at cs.com MFitz53 at cs.com
Fri Jan 3 16:39:01 EST 2003


In a message dated 1/3/03 12:02:00 PM Eastern Standard Time, 
use-revolution-request at lists.runrev.com writes:


> Could you provide a bit more info so we can help you
> more to get to the finish :-)
> 
> Or even supply a amazingly clever solution :-D
> 
> 
> Regards
> 
> 
> Klaus Major
> k_major at os.surf2000.de
> 
> 

 Thanks again, Klause. I did fix that myself. Having moved up to a bigger 
headache, I'm glad you are here. In an attempt to automate the slideshow, I 
put the following script into a button. The thing works well for the first 3 
pictures, then when the third closes, the fourth doesn't open, but rather a 
grainy image opens in the same rect as the previous picture. The next opens 
correctly, and the one after that opens a large grainy image.(No picture, 
just looks like a texture) . Then I gert an error.Here's the script:

on mouseUp
  put the cphotoFolderPath of this stack into folderPath
  put 1 into z
  repeat(the number of lines in fld "allphotos")times
    put the value of line z of fld"allphotos" into photoToShow
    set the filename of img 1 to (folderPath&"/"&photoToShow)
    show image 1
    wait 5 seconds
    hide image 1
    wait 1 second
    add 1 to z
  end repeat

end mouseUp

And here's the error message I get:



• There was an Execution Error at 4:19:12 PM

Error description:  put: error in expression
Object: button id 1033 of card id 1002 of stack "C:/Program Files/Revolution 
1.1.1/OurPics.rev"
--------------------
repeat(the number of lines in fld "allphotos")times
--------------------
Value: Carol and Friend LOL.jpg

 I had thought maybe there was some characteristic of the jpg that was 
hanging things up, but RR shows it just fine any other time.

 So, what do you think?
and thanks from

mike fitz, newbie for life


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030103/f853ceab/attachment.html>


More information about the use-livecode mailing list