backColor of image
Jeanne A. E. DeVoto
jeanne at runrev.com
Sun Nov 17 00:16:01 EST 2002
At 6:12 AM -0800 11/13/02, paolo mazza wrote:
>on MouseUp
> set the backgroundcolor of image "image1" to 0,0,0
>end MouseUp
>
>This button change the BackColor property of "image1" but the image does not
>change at all. Why?
>An image has a backcolor or not?
>From the docs for backgroundColor:
"The backgroundColor of an image is the second color in the image's color
palette."
(In general, it's not very useful to set the colors of an image. If you
want a changeable background color, it's probably simplest to put a graphic
behind it, so the graphic shows through the transparent pixels of the
image, and set the graphic's backgroundColor instead.)
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/
More information about the use-livecode
mailing list