Log scales = animation scales?
david at openpartnership.net
Sun Jul 15 06:45:21 CDT 2007
Oh - this is the on I did for animating the texsize (without acceleration):
setprop text_Zoom [someSpeed] maxSize
if someSpeed is empty then put 2 into someSpeed
put item -1 of maxSize into maxSize
put the long id of the target into targetObject
put (the textsize of targetObject) + someSpeed into newSize
if newSize >= maxSize then
set the textsize of targetObject to maxSize
set the textsize of targetObject to newSize
-- wait 1 milliseconds
-- put "set the text_Zoom [someSpeed] of targetObject to maxSize"
put "set the text_Zoom [" & someSpeed & "] of me to" && maxSize into
send pigeon to targetObject in 1 millisecond
I can only do a few of these at a time on my PowerBook.
More information about the use-livecode