Hi David,

question about how to script changing the image contrast - you know with a slider? As far as I can figure there are three ways to go:


How about:

(4) With image "My Image" over a white background

Slider with start value of zero, end value 26, opens with current value 13.

on mouseStillDown
        set the blendLevel of image "My Image" to the thumbPosition of me
end mouseStillDown

on mouseUp
        set the blendLevel of image "My Image" to the thumbPosition of me
end MouseUp

In my application the actual image changes, and is stored in the card's expandedImage property; so my slider does:

on mouseStillDown
        get word 2 to -1 of the expandedImage of this card
        set the blendLevel of image it to the thumbPosition of me
end mouseStillDown

MouseMove probably works as well.

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to