# Worded preloader

**URL:** https://forum.kirupa.com/t/worded-preloader/111675
**Category:** Uncategorized
**Created:** [May 29, 2004, 4:36pm UTC](https://forum.kirupa.com/t/worded-preloader/111675 "2004-05-29T16:36:52Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![chunk](https://avatars.discourse-cdn.com/v4/letter/c/ee59a6/32.png) [@chunk](https://forum.kirupa.com/u/chunk)
#### Post date: [May 29, 2004, 4:36pm UTC](https://forum.kirupa.com/t/worded-preloader/111675/1 "2004-05-29T16:36:52Z")

</div>

hello all, its been some time since i last checked these forums cause i have been kinda bussy, so how is everyone.

i would of liked to posted a nice message just saying that but i have a preloader problem. please dont all kill yourselfs at once, because this is a tricky (for me anyway) problem.

i have a normal preloader that works fine. it goes in numbers eg, 1% 50% and so on if you know what i mean, but i would like the preloader to be in normal words eg, one, twenty, ninty nine.

so if anyone has a concept of what i am rambling about can they please please, try and help me. thanks.

---

<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: [May 29, 2004, 5:41pm UTC](https://forum.kirupa.com/t/worded-preloader/111675/2 "2004-05-29T17:41:53Z")

</div>

Leave the first frame of your movie empty (all your content should start on hte second frame).  
Now place a textfield with the instance name percentage on the first frame and apply this code also on the first frame:

```auto
p_array = ["one", "two", "three",...,"ninety nine","one hundred"];
onEnterFrame = function () {
	var t = getBytesTotal();
	var l = getBytesLoaded();
	percentage.text = p_array[Math.round(l/t*100)];
	if (l == t) {
		gotoAndStop(2);
	}
};
stop();

```

---

<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: [May 29, 2004, 9:26pm UTC](https://forum.kirupa.com/t/worded-preloader/111675/3 "2004-05-29T21:26:59Z")

</div>

I have seen this done before and have always known that it was done with an array, but does an array automatically read numbers 1 - 100 in verbal state?

PS. I tried your code claudio, and there are errors within the array, stating that the “…” must be followed by an operand.

---

<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: [May 29, 2004, 9:35pm UTC](https://forum.kirupa.com/t/worded-preloader/111675/4 "2004-05-29T21:35:49Z")

</div>

did you type out all the numbers?..I think claudio meant for you to type out all the numbers, not use “…” in there

---

<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: [May 29, 2004, 9:54pm UTC](https://forum.kirupa.com/t/worded-preloader/111675/5 "2004-05-29T21:54:47Z")

</div>

hehe

I don’t think I’m up for that, not for my own personal use anyways.

---

<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: [May 30, 2004, 1:04am UTC](https://forum.kirupa.com/t/worded-preloader/111675/6 "2004-05-30T01:04:27Z")

</div>

i think its a good script mateh but it dont work:

> p\_array = [“one”, “two”, “three”, “four”, “five”, “six”, “seven”, “eight”, “nine”, “ten”, “eleven”, “twelve”, “thirteen”, “fourteen”, “fifteen”, “sixteen”, “seventeen”, “eighteen”, “nineteen”, “twenty”, “twenty one”, “twenty two”, “twenty three”, “twenty four”, “twenty five”, “twenty six”, “twenty seven”, “twenty eight”, “twenty nine”, “thirty”, “thirty one”, “thirty two”, “thirty three”, “thirty four”, “thirty five”, “thirty six”, “thirty seven”, “thirty eight”, “thirty nine”, “forty”, “forty one”, “forty two”, “forty three”, “forty four”, “forty five”, “forty six”, “forty seven”, “forty eight”, “forty nine”, “fithy”, “fithty one”, “fithty two”, “fithty three”, “fithty four”, “fithty five”, “fithty six”, “fithty seven”, “fithty eight”, “fithty nine”, “sixty”, “sixty one”, “sixty two”, “sixty three”, “sixty four”, “sixty five”, “sixty six”, “sixty seven”, “sixty eight”, “sixty nine”, “seventy”, “seventy one”, “seventy two”, “seventy three”, “seventy four”, “seventy five”, “seventy six”, “seventy seven”, “seventy eight”, “seventy nine”, “eighty”, “eighty one”, “eighty two”, “eighty three”, “eighty four”, “eighty five”, “eighty six”, “eighty seven”, “eighty eight”, “eighty nine”, “ninety”, “ninety one”, “ninety two”, “ninety three”, “ninety four”, “ninety five”, “ninety six”, “ninety seven”, “ninety eight”,“ninety nine”,“one hundred”];  
> onEnterFrame = function () {  
> var t = getBytesTotal();  
> var l = getBytesLoaded();  
> percentage.text = p\_array[Math.round(l/t\*100)];  
> if (l == t) {  
> gotoAndStop(2);  
> }  
> };  
> stop();  
> please explain it again ?

---

<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: [May 30, 2004, 1:29am UTC](https://forum.kirupa.com/t/worded-preloader/111675/7 "2004-05-30T01:29:57Z")

</div>

Holy crap, I cab’t believe you typed that all out.

---

<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: [May 30, 2004, 1:31am UTC](https://forum.kirupa.com/t/worded-preloader/111675/8 "2004-05-30T01:31:59Z")

</div>

I tested what you have, and now that all of the array is typed out, it does indeed work.

---

<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: [May 30, 2004, 1:39am UTC](https://forum.kirupa.com/t/worded-preloader/111675/9 "2004-05-30T01:39:30Z")

</div>

all ur fifties are “fithty”

---

<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: [May 30, 2004, 1:55am UTC](https://forum.kirupa.com/t/worded-preloader/111675/10 "2004-05-30T01:55:18Z")

</div>

lmfao your right, well i did copy it all from a american lerning number site so…

(no offence should be taken or given, sorry)

---

<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: [May 30, 2004, 1:58am UTC](https://forum.kirupa.com/t/worded-preloader/111675/11 "2004-05-30T01:58:10Z")

</div>

lol yea thats my spelling,

please can anyone upload the .fla (mx please, not mx 2004)

cause whatever i try to doesnt seem to work,

thanks to you all
