Message: 16 Date: Sat, 26 Feb 2005 08:42:21 -0600 From: Derek Bump <[EMAIL PROTECTED]> Subject: thumbPosition and Simple Math To: How to use Revolution <[email protected]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Are there bugs that occur when using Math in conjunction with a
thumbPosition reading.  I've noticed that the following...

on scrollBarDrag
    put the thumbPosition of me into theNum
    add 50 to theNum
    put theNum into fld "result"
end scrollBarDrag

When I do it, I don't get the current thumbPosition + 50, I get the
current pixel position + 50.

Anyone else seeing this?

Derek Bump
Dreamscape S


Derek,

Your script works for me (OS X).

Try looking in the scrollbar inspector. Use the tiny arrows to increase the thumbposition. You should see the position of the thumb change on the scrollbar *and* the value in field should increase but remain 50 units greater than the thumbposition.

Jim
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to