# Text file Object color change

**URL:** https://forum.kirupa.com/t/text-file-object-color-change/50482
**Category:** flash
**Created:** [May 3, 2004, 4:03pm UTC](https://forum.kirupa.com/t/text-file-object-color-change/50482 "2004-05-03T16:03:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.kirupa.com/u/gary)
#### Post date: [May 3, 2004, 4:03pm UTC](https://forum.kirupa.com/t/text-file-object-color-change/50482/1 "2004-05-03T16:03:34Z")

</div>

Please help!

I need to know if there is anyway to create a text file or something external, that I can set the properties of a symbol with. and what kind of action script that I could achive this goal with. if anyone knows of a tutorial it would be helpfull…

---

<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 4, 2004, 8:19am UTC](https://forum.kirupa.com/t/text-file-object-color-change/50482/2 "2004-05-04T08:19:22Z")

</div>

You can use the [font=courier new]setRGB()[/font] or [font=courier new]setTranform()[/font] methods of the [font=courier new]Color[/font] object, and use the [font=courier new]LoadVars[/font] object to load the text file containing the color values. Look them up in the ActionScript Dictionary. 😉

…And I’ve attached an example for each method. 😛
