Increasing numbers animation


(Rob Harris) #1

Hi,

I Need to create an animation that shows numbers increasing from 0
to say 15 - is there an easier way than having to have 15 different
numbers stacked on top of each other and revealing the next one each
time to give the illusion of the numbers going up?

thanks


(Andrew) #2

Only way I can think of is using timeline events every second, to run a javascript function that will change the innerHTML by 1 ?


(stephen) #3

If you hit record and modify the text in an element it will create a keyframe that changes the text. This example uses a secondary timeline to count how many sheep have been abducted.

http://tumult.com/hype/gallery/UFOAbductionDemo/UFOAbductionDemo.hype.zip