# Hiding dynamic characters

**URL:** <https://forum.kirupa.com/t/hiding-dynamic-characters/163859>\
**Category:** flash\
**Created:** [September 26, 2005, 9:07pm UTC](https://forum.kirupa.com/t/hiding-dynamic-characters/163859 "2005-09-26T21:07:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deathBydsgn](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@deathBydsgn](https://forum.kirupa.com/u/deathBydsgn)\
**Post date:** [September 26, 2005, 9:07pm UTC](https://forum.kirupa.com/t/hiding-dynamic-characters/163859/1 "2005-09-26T21:07:09Z")

</div>

Quick question:

I’m building an application with a color picker, and I am trying to return the rgb value of the selected color. Everything works great, except I get the 0x in front of it, e.g. 0xFF0000. How can I make this AS get rid of those characters before the text is displayed?

```auto
bgcolor = (picker1.hex);
picker1.onColorChange = function() {
	bgcolor = picker1.hex;
};

```
