Slava,
I must admit I don't quite understand the question. I am frequently
building bitmap members with imaging Lingo, and the width property is
always (?) reported right. How do you make it _not_ update correctly?
Or are you editing the images _outside_ of director after linking
them in? If so, the only thing I can think of to make director aware
of their new sizes would be to use Binary IO to read the size of the
image without loading it and then set the member rect to the image's
w & h, although this might be harder work than actually reloading the
images or casts.
-A.
>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!]
[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!]