# Load text into masked dynamic text field

**URL:** <https://forum.kirupa.com/t/load-text-into-masked-dynamic-text-field/185495>\
**Category:** Uncategorized\
**Created:** [April 13, 2006, 6:08pm UTC](https://forum.kirupa.com/t/load-text-into-masked-dynamic-text-field/185495 "2006-04-13T18:08:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![atomicrabbit](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@atomicrabbit](https://forum.kirupa.com/u/atomicrabbit)\
**Post date:** [April 13, 2006, 6:08pm UTC](https://forum.kirupa.com/t/load-text-into-masked-dynamic-text-field/185495/1 "2006-04-13T18:08:38Z")

</div>

hey ppl,

Ok I’m having some trouble here. i followed this tutorial ([http://www.kirupa.com/developer/mx2004/cssfile.htm](http://www.kirupa.com/developer/mx2004/cssfile.htm)) in order to load text from an external file and apply css styles to it. BUT my problem is that the text is under a mask. Embedding the font results in an empty text box, not embedding a font results in the same thing.

Any ideas??!?

Thanks,

-atomicrabbit

---

<div class="post-metadata">

**Author:** ![scopa](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@scopa](https://forum.kirupa.com/u/scopa)\
**Post date:** [April 13, 2006, 6:26pm UTC](https://forum.kirupa.com/t/load-text-into-masked-dynamic-text-field/185495/2 "2006-04-13T18:26:45Z")

</div>

I think I JUST had this problem. The solution for me was to set up the mask using actionscript rather than using a timeline mask.

content\_mc.setMask(mask\_mc);

Just put the mask\_mc on top of the content\_mc and put this actionscript in the actions frame and it should work.

---

<div class="post-metadata">

**Author:** ![atomicrabbit](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@atomicrabbit](https://forum.kirupa.com/u/atomicrabbit)\
**Post date:** [April 13, 2006, 6:38pm UTC](https://forum.kirupa.com/t/load-text-into-masked-dynamic-text-field/185495/3 "2006-04-13T18:38:11Z")

</div>

> [@scopa](#):
>
> I think I JUST had this problem. The solution for me was to set up the mask using actionscript rather than using a timeline mask.
> 
> content\_mc.setMask(mask\_mc);
> 
> Just put the mask\_mc on top of the content\_mc and put this actionscript in the actions frame and it should work.

Yeah … I know that works, but unfortunately, thats not an option for me. The mask is in a different a flash file.

Basically, the main flash file loads another flash file (the one with my text field in it), which is under a mask. There are other animations that need to be under the mask, so i can’t just assign it dynamically. Just the way my movie is structure, it won’t work.

Thanks for the reply, but do you have any other ideas?
