I am working on a project that uses an alphabet that is saved as a series of
tiny GIF images and uses the very wonderful MC ability to set a button icon
to an image. So I have saved the whole alphabet of symbols to a stack, set
their ID's to their ordinal number in the alphabet +2000, to keep their id's
way out of range and then in the main presentation stack we will be calling
them by script to "take over" buttons as needed. This works great. There are
occasions (dark backgrounds) when I need to toggle the ink property of the
images between:

set the ink of image 72 to "srcCopy"  # black for light colored bg's
set the ink of image 72 to "notsrcAnd" #reverse out to white for dark bg's

if we put the card/stack with the button displaying the icon of Image 72 on
the toplevel and change the inks of image 72 in the control browser, then
click down on the card with the select tool, the button will update the
changes made to the image from the control browser. But if I simply change
the ink from a script nothing happens. Rather, sometimes it does, sometimes
it doesn't depending on something I can't quite grasp. so, I have to  either
a) set the button's icon to a different image, say image id x, then change
the ink of image id y, then set the icon of the button back to image id y
viola. . .and the new image y with new ink property is updated to display.
b) I can also go to another card say card 2, change the ink property of the
image being displayed by the button on cd 3, then go back to cd three and
the change will be registered on display.

but is there a single line of syntax that will do the same ? i.e. force the
current card, with the current button to "re-register" the icon with the new
ink setting? this would save a lot of juggling just to make the display
update.

set the ink of image 72 to "notsrcAnd"
now do something on this line to tell /
     the button to re-image the icon with the new ink setting.

I tried locking the screen, changing the ink property of the image and
unlocking the screen, but that didn't work. Something has to happen to tell
the button to go and re-display the current icon assignment.

Sivakatirswami
Editor's Assistant/Production Manager
www.HinduismToday.com
[EMAIL PROTECTED]



Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to