# Dynamically changing text font and size

**URL:** https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906
**Category:** flash
**Created:** [January 23, 2002, 8:31am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906 "2002-01-23T08:31:28Z")
**Posts on this page:** 8
**Page:** 1

<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: [January 23, 2002, 8:31am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/1 "2002-01-23T08:31:28Z")

</div>

Hi,\ris there a way by which i could change the font and colour of a dynamic text,during run time.\rthanks\rJayant Cahudhuri

---

<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: [January 23, 2002, 8:38am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/2 "2002-01-23T08:38:00Z")

</div>

Font would be really really tough… I’ll see if any of my books say anything about it though. Interesting question.

---

<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: [January 23, 2002, 9:12am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/3 "2002-01-23T09:12:01Z")

</div>

Hi,\ri solved the problem by enabling the html option in the text box and writing something as\rmytextbox="\<FONT COLOR=’#FF0000’ SIZE=‘6’\>jayant\</FONT\>"\rthanks\rjayant

---

<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: [January 24, 2002, 6:39am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/4 "2002-01-24T06:39:56Z")

</div>

ahh… yes that would work well… the other thing that you can put in there is basic html links and such… though keep in mind that it does not change the font to a link font the way HTML would… rather you have to set the color and font differences in each instance of a link in the text.

---

<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: [March 11, 2002, 3:33am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/5 "2002-03-11T03:33:16Z")

</div>

\<FONT COLOR=’#FF0000’ SIZE=‘6’\>hi\</FONT\>"

---

<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: [March 11, 2002, 4:00am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/6 "2002-03-11T04:00:50Z")

</div>

or you could just make the text white and put it in a movie clip and include the font outline…\rthen you could attach a color object to it and have the advantage of all the color transforms.\r:) \rjeremy

---

<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: [March 11, 2002, 8:03am UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/7 "2002-03-11T08:03:59Z")

</div>

I don’t understand what you mean. How wan you attach the font outline (well, what does it mean would be the real question…) ?\r\rpom 0]

---

<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: [March 13, 2002, 7:36pm UTC](https://forum.kirupa.com/t/dynamically-changing-text-font-and-size/2906/8 "2002-03-13T19:36:23Z")

</div>

how would you change the text to say a chinese font ???\r\ranyone ???
