Menu(I forgot)

I have a menu and when I press <- or -> key it adds -5 or 5
to the menu property…
the whole swap animation is 6 frames long…
The question is, How will I get the menu play the animation that is
between 1 and 6?

Here is the blend file http://www.zone.ee/xintest/selection.blend

this is a quick fix, but it doesn’t allow you to move from the right to the left with the right arrow.
www.angelfire.com/film/aightfilms/selection.blend

Yeah, I was thinking of this too, but i know there was an other way to do it.
I think it was something with invertals… I think.

I also have this problem before but i solve it by using this method:
https://blenderartists.org/forum/viewtopic.php?t=16721

Hope its help :smiley: