Hello, I'm trying to create a text field that starts at zero then counts up to a pre-determined final number. Basically I have a bar graph that moves from zero to any number. The animation is always 30 frames for the bar (no matter the final number). I would like to have my text field start at zero and then count-up and stop at a final number to match the bar graph; which I would have entered into the text field.
I'm trying to accomplish this with a script (below) but am not having much luck. Please don't laugh at my script! lol I'm a Novice!
'This will increase number from 0 to correct value
dim numstart, numend, X as integer
dim last as string
self.getobjectbyname("Text1", last)
numend = Cstr(math.Round(Csng(last)))
numstart = 0
X = 0
While X