# Simple Script Request (MX)

**URL:** <https://forum.kirupa.com/t/simple-script-request-mx/24242>\
**Category:** flash\
**Created:** [June 27, 2003, 5:55pm UTC](https://forum.kirupa.com/t/simple-script-request-mx/24242 "2003-06-27T17:55:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [June 27, 2003, 5:55pm UTC](https://forum.kirupa.com/t/simple-script-request-mx/24242/1 "2003-06-27T17:55:57Z")

</div>

Can somebody give me the actionscript to make 0 escalate up to 2003. This is very similar to how a preloader escalates, except it isn’t a preloader and it goes up to 2003. I know nothing about actionscript, so if you could, please tell me where to change the speed and the X & Y location of the numbers

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 28, 2003, 6:10am UTC](https://forum.kirupa.com/t/simple-script-request-mx/24242/2 "2003-06-28T06:10:31Z")

</div>

uhh, that’s pretty vague.

to make a variable go from 0 to 2003:

[AS]for(i=0; i\<2004; i++){  
yearnum = i  
};[/AS]

or per frame:

[AS]onEnterFrame = function(){  
yearnum += 1;  
};[/AS]

Make a movie clip with a dynamic text box that pulls “yearnum” - lets say you name it “myMovie”.

To change the x and y position of the clip:

[AS]myMovie.\_x = whatyouwant;  
myMovie.\_y = whatyouwant;[/AS]
