not sure exactly which effect you plan to use, but seems like .get()
would be the way to get a value from an animation

http://mootools.net/docs/Fx/Fx.Tween
http://www.mootorial.com/wiki/mootorial/06-fx/01-fx.tween

Or you could just ask the element what it's current style is..
something like this

$('getStyleExample').getStyle('width'); //returns something like
"528px"

http://www.mootorial.com/wiki/mootorial/04-element/02-element.style

guess it would depend on your specific implementation to whether this
is useful... of you course you could also just extend an effect if
worse comes to worse

thanks
-gregory


On Oct 5, 1:46 pm, Oskar Krawczyk <[EMAIL PROTECTED]> wrote:
> Hi folks!
>
> I was researching ways of returning the current value of an animation
> - the number - without any success. Any idea how this is achievable
> using Fx.*? What I'm basically trying to do is get the current value
> and apply it to:
>
> webkitTransform: 'rotate(' + currentValue + 'deg)'
>
> Best,
> Oskar

Reply via email to