# Check color code

**URL:** https://forum.kirupa.com/t/check-color-code/164736
**Category:** Uncategorized
**Created:** [October 4, 2005, 1:38pm UTC](https://forum.kirupa.com/t/check-color-code/164736 "2005-10-04T13:38:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Terry\_elekes](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)
#### Post date: [October 4, 2005, 1:38pm UTC](https://forum.kirupa.com/t/check-color-code/164736/1 "2005-10-04T13:38:16Z")

</div>

I am trying to learn flash and was tryingn to check the color of a movieclip with  
actionscript. Here is the code i used

myColorObject = new color(“myMovieClip\_mc”);  
trace((myColorObject.getRGB()).toString());

I get a error message in the output window. Can someone please let me know what I am doing wrong?
