# Set movie clip to hexadecimal color

**URL:** <https://forum.kirupa.com/t/set-movie-clip-to-hexadecimal-color/252112>\
**Category:** Uncategorized\
**Created:** [February 16, 2008, 1:50am UTC](https://forum.kirupa.com/t/set-movie-clip-to-hexadecimal-color/252112 "2008-02-16T01:50:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yann](https://avatars.discourse-cdn.com/v4/letter/y/bc79bd/32.png) [@yann](https://forum.kirupa.com/u/yann)\
**Post date:** [February 16, 2008, 1:50am UTC](https://forum.kirupa.com/t/set-movie-clip-to-hexadecimal-color/252112/1 "2008-02-16T01:50:38Z")

</div>

Hi!

I’m loading an XML file that has an hexadecimal color preference for movie clips set to “on.”

I read the doc on ColorTransform and some posts on how to convert hex \> rgb but I’m either too tired or too stupid to to put it all together…

so… how would you set “instance\_mc” to “#ffff00” in AS3 is pretty much my question… A code snippet would be very much appreciated at this point, Ill go do some brain push ups in the meantime 😉

Thanks!

---

<div class="post-metadata">

**Author:** ![yann](https://avatars.discourse-cdn.com/v4/letter/y/bc79bd/32.png) [@yann](https://forum.kirupa.com/u/yann)\
**Post date:** [June 19, 2008, 9:25pm UTC](https://forum.kirupa.com/t/set-movie-clip-to-hexadecimal-color/252112/2 "2008-06-19T21:25:02Z")

</div>

I figure the “1” part 2 projects later 😉 I missed your reply… It would definitely have been useful… ■■■■!!

As far as the rgb property, for the life of me I swear I read the docs from left, right top, bottom, diagonal, on a full moon, never saw it…

Thanks again!
