At 09:35 AM 2/21/02 -0800, you wrote:
>Sorry, I haven't followed this thread, but I have a question you about 
>it.  Are you executing a line like:
>
>   member(someMemberName).fileName = <someFullFilePath>
>
>Irv

This discussion took off in an interesting new direction, but the original 
question has been ignored. Yes, Irv, this does refresh and save the cast 
sizing info for the image:

member(i, "Images"). filename = "D:\Images\FileName.tif"
castLib("Images").save()

Doing this for a hundred casts and thousands of images every time an image 
is edited is a nuisance, and is a lengthy procedure. So the original 
question was:

Is there a smarter/more efficient way to refresh the sizing info that is 
stored in the cst file for the external cast? Is trhere some way to force 
the cast to refresh its stored sizing info for its images each time the 
cast is opened by the movie (without looping through all members and 
reassigning the filename, which is already correct anyway)?

This refreshing is necessary because otherwise, when the movie starts, and 
this is executed:

castLib("Images").filename = "D:\Casts\MyImages.cst"

after some of the images in the cast have been edited/resized, the sizing 
info in the cast is not refreshed, and the older image dimensions are 
reported. The display is still fine and does reflect the new dimensions, 
but member(i, "Images").width and member(i, "Images").height display the 
outdated dimensions to the user. And quite apart from what is displayed to 
the user, I suspect other quirks may result from having incorrect 
dimensions in the cast.

Slava

[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