# ¿ how can i embed AS created dynamic textfiled?

**URL:** <https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226>\
**Category:** flash\
**Created:** [May 19, 2003, 8:23am UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226 "2003-05-19T08:23:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![noxious](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@noxious](https://forum.kirupa.com/u/noxious)\
**Post date:** [May 19, 2003, 8:23am UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/1 "2003-05-19T08:23:32Z")

</div>

hi guys!  
just wondering how can i embed fonts on a dynamically (AS) created dynamic textfield… this sounds “no-brainer” problem but this gives me headache…

---

<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 19, 2003, 9:31am UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/2 "2003-05-19T09:31:37Z")

</div>

Hi,

TextField.embedFonts = true;

SHO

---

<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 19, 2003, 12:18pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/3 "2003-05-19T12:18:45Z")

</div>

here’s the code on my MC…  
[AS] onClipEvent (load) {  
textalign = “left”;  
textsize = 16; //font size  
textcolor = 0x000000; //hex value of color  
textfont = “noxious\_standard”; //outline name…my font  
textweight = false; //if bold set to true  
textwidth=280;  
textheight=150;  
x=-textwidth/2;  
y=0;  
textvalue = "Proverbs 16:23 - The heart of the… ";  
}[/AS]

and inside the MC…  
[AS]//function textFormat() {  
this.createTextField(“mytext”, 1, x, y, textwidth, textheight);  
mytext.multiline = false;  
mytext.wordWrap = true;  
mytext.border = false;  
mytext.selectable = false;  
mytext.type = “dynamic”;  
mytext.border = false;  
mytext.background = false;  
myformat = new TextFormat();  
myformat.font = textfont;  
myformat.size = textsize;  
myformat.align = textAlign;  
myformat.color = textcolor;  
myformat.underline = false;  
myformat.bold = textweight;  
mytext.embedFonts = true;  
mytext.html = true;  
mytext.text = textvalue;  
mytext.setTextFormat(myformat);  
textalign = “left”;  
}  
[/AS]  
it just dont work… it’s still not embedded…

---

<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 19, 2003, 12:21pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/4 "2003-05-19T12:21:23Z")

</div>

grrrrr now it works! i think my PC just needs to be restarted… 😛

anyhu, thanks man!

---

<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 19, 2003, 1:15pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/5 "2003-05-19T13:15:27Z")

</div>

That’s all right!!!

SHO

---

<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 19, 2003, 1:25pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/6 "2003-05-19T13:25:25Z")

</div>

thankz man! tnx for reminding that im not insane and i was also doin the right thing… it’s just my PC.

let’s keep the great exploit! cheers! :thumb:

---

<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 19, 2003, 6:32pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/7 "2003-05-19T18:32:42Z")

</div>

i simply love your banner man:)

---

<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 20, 2003, 9:39am UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/8 "2003-05-20T09:39:35Z")

</div>

the shinning face you mean!? 😛

---

<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 20, 2003, 1:11pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/9 "2003-05-20T13:11:54Z")

</div>

yep:)that one

---

<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 21, 2003, 12:49pm UTC](https://forum.kirupa.com/t/how-can-i-embed-as-created-dynamic-textfiled/21226/10 "2003-05-21T12:49:33Z")

</div>

heee… pretty welll… i’ll keep them shinning for ya! =)
