# Changing text size

**URL:** https://forum.kirupa.com/t/changing-text-size/8811
**Category:** Uncategorized
**Created:** [November 28, 2002, 11:53pm UTC](https://forum.kirupa.com/t/changing-text-size/8811 "2002-11-28T23:53:33Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![buddylee](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@buddylee](https://forum.kirupa.com/u/buddylee)
#### Post date: [November 28, 2002, 11:53pm UTC](https://forum.kirupa.com/t/changing-text-size/8811/1 "2002-11-28T23:53:33Z")

</div>

Aiight, I have a box that when rolled over, I want some text over to the left to increase. Say I have a dynamic text that says “computers”. Now when you roll over that box, I want “computers” to increase to size 28. How would I do that?

on (rollOver){  
\_root.computers.textsize = 28;  
}

it would be something like this, if only textsize was an option.  
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: [November 29, 2002, 1:56am UTC](https://forum.kirupa.com/t/changing-text-size/8811/2 "2002-11-29T01:56:12Z")

</div>

ok. i looked in the AS Dictionary and there isnt anything that i saw to do this. So all i can say is, make an MC with 2 frames, the normal text size frame and the smaller text size frame. have a stop(); function in the first frame too. Then on the button have it play the mc.

that should do the trick…

---

<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: [November 29, 2002, 1:58am UTC](https://forum.kirupa.com/t/changing-text-size/8811/3 "2002-11-29T01:58:30Z")

</div>

HAHAH! i found it! i had to really search though, here:

> TextFormat.size

Availability

Flash Player 6.

Usage

TextFormat.size  
Description

Property; the point size of text in this text format. The default value is null, which indicates that the property is undefined.

thats what macromedia gave me! 😛

---

<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: [November 29, 2002, 2:22am UTC](https://forum.kirupa.com/t/changing-text-size/8811/4 "2002-11-29T02:22:44Z")

</div>

Hey mdipi,

You can’t use TextFormat.size without setting up a new TextFormat object, so it should look like:

```php
linkFormat = new TextFormat();
linkFormat.size = 28
my_txt.setTextFormat(linkFormat);

```

Tell me how it goes,

yours,  
h88

---

<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: [November 29, 2002, 3:52am UTC](https://forum.kirupa.com/t/changing-text-size/8811/5 "2002-11-29T03:52:24Z")

</div>

Thanks for you help. That did the trick.

And thanks fellas for looking into it so much, I really appreciate it.

---

<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: [November 29, 2002, 3:54am UTC](https://forum.kirupa.com/t/changing-text-size/8811/6 "2002-11-29T03:54:15Z")

</div>

Oh well, which vesion of flash ur using. :-\

---

<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: [November 29, 2002, 3:54am UTC](https://forum.kirupa.com/t/changing-text-size/8811/7 "2002-11-29T03:54:48Z")

</div>

MX Should work, 5 not supported.

---

<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: [November 29, 2002, 4:04am UTC](https://forum.kirupa.com/t/changing-text-size/8811/8 "2002-11-29T04:04:20Z")

</div>

WHAT? YOU EDITED UR POST? HMM, no problem though. :sleep:

---

<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: [November 29, 2002, 8:22am UTC](https://forum.kirupa.com/t/changing-text-size/8811/9 "2002-11-29T08:22:50Z")

</div>

😛 😛 Xbox Guru, I like that… 😛 😛

---

<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: [November 29, 2002, 2:37pm UTC](https://forum.kirupa.com/t/changing-text-size/8811/10 "2002-11-29T14:37:41Z")

</div>

thanks pom, i am going to paint my contollers and junk soon :P. i just need to find some good paint. I was going to do the whole XBOX itself, but i dont want to void the warnenty, lol.
