# Changing color of a movie with a txt file

**URL:** https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602
**Category:** Uncategorized
**Created:** [October 21, 2003, 1:37pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602 "2003-10-21T13:37:20Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![u\_chandra](https://avatars.discourse-cdn.com/v4/letter/u/b9e5f3/32.png) [@u\_chandra](https://forum.kirupa.com/u/u_chandra)
#### Post date: [October 21, 2003, 1:37pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/1 "2003-10-21T13:37:20Z")

</div>

folks

how can i change the color of a movie clip by a text file

i want to give option to user that he can pass a color code (0Xrrrrrr) and it got reflected in the swf.

---

<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: [October 21, 2003, 2:14pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/2 "2003-10-21T14:14:47Z")

</div>

I think this would be easier with PHP.

---

<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: [October 21, 2003, 2:27pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/3 "2003-10-21T14:27:34Z")

</div>

u\_chandra,

if you meant movieclip, this is an example

scotty:)

---

<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: [October 21, 2003, 2:28pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/4 "2003-10-21T14:28:42Z")

</div>

oops, here with .fla:ne:

---

<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: [October 21, 2003, 2:50pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/5 "2003-10-21T14:50:28Z")

</div>

scotty thanks

but i want to chage the color from a text file

---

<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: [October 21, 2003, 2:54pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/6 "2003-10-21T14:54:13Z")

</div>

you mean the text itself:h:

scotty

---

<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: [October 21, 2003, 2:55pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/7 "2003-10-21T14:55:44Z")

</div>

i want to change the color form passing value from a text file

---

<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: [October 21, 2003, 3:40pm UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/8 "2003-10-21T15:40:11Z")

</div>

new try, this one is changing the textcolor:)

scotty

---

<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: [October 22, 2003, 3:40am UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/9 "2003-10-22T03:40:30Z")

</div>

brother you dint get me…

i want to change the backround color of a movie from a text file.

so that i can chane the value in text file and background color should change

---

<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: [October 22, 2003, 7:13am UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/10 "2003-10-22T07:13:25Z")

</div>

oh stupid me:h:

oke, then change:  
[AS] box.textColor = \_global.col;[/AS]  
in  
[AS] box.backgroundColor = \_global.col;[/AS]

that shoud work

scotty

[edit] i think this is also not what you want, you mean the entire movie, i’ll be back later[/edit]

---

<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: [October 22, 2003, 10:20am UTC](https://forum.kirupa.com/t/changing-color-of-a-movie-with-a-txt-file/33602/11 "2003-10-22T10:20:25Z")

</div>

maybe the way APdesign suggested (PHP)  
(i know nothing about that)  
or  
like my first fla, put that mc in your lowest layer and give it the dimensions of your movie

scotty
