# Setting text color from an xml file

**URL:** <https://forum.kirupa.com/t/setting-text-color-from-an-xml-file/287335>\
**Category:** Uncategorized\
**Created:** [April 29, 2009, 4:34pm UTC](https://forum.kirupa.com/t/setting-text-color-from-an-xml-file/287335 "2009-04-29T16:34:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icebot07](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@icebot07](https://forum.kirupa.com/u/icebot07)\
**Post date:** [April 29, 2009, 4:34pm UTC](https://forum.kirupa.com/t/setting-text-color-from-an-xml-file/287335/1 "2009-04-29T16:34:26Z")

</div>

hi, trying to get this to work w/an xml file:

i have a textfield in my main as3 document file, i’m loading the text from xml, but i’d like to also set the color or at least let users modify the text color as needed. any ideas on how to do this? i know it has something to do with textFormat, but i’m not exactly sure how.

:crying:
