random color code in navigation menu

#include "lmc_tween.as"
menuCount = 3;
menuTitleArray = ["", "John", "Tim", "Michael"];
function decToHex(dec) {
	var hexStr = "0123456789ABCDEF";
	var low = dec%16;
	var high = (dec-low)/16;
	hex = ""+hexStr.charAt(high)+hexStr.charAt(low);
	return hex;
}
function getRandomColorCode() {
	var colorCode = "0x"+decToHex(random(255));
	colorCode += decToHex(random(255));
	colorCode += decToHex(random(255));
	return colorCode;
}
function colorDice(mc:MovieClip) {
	mc.colorTo(getRandomColorCode(), 1.5, "easeOutCubic", 0);
}
for (var k = 0; k<menuCount+1; k++) {
	var target = eval("menu"+k);
	target.title.shows.text = menuTitleArray[k];
	target.id = k;
	target.onRollOver = function() {
		this.bg.tween("_width", 300, 0.5, "easeOutBounce", 0);
		this.bg.colorTo("0xffff00", 0.5, "easeOutBounce", 0);
	};
	target.onRollOut = function() {
		this.bg.tween("_width", 104, 0.5, "easeOutBounce", 0);
		this.bg.colorTo("0x000000", 0.5, "easeOutBounce", 0);
	};
	target.onRelease = function() {
		trace("menu "+this.id+" pressed!");
	};
	target.rollColorDice = setInterval(colorDice, 2000, target.bg);
	target.rollColorDice = setInterval(colorDice, 2000, target.title);
}


get random color code in hex, and attach that color code to navigation menu.

Download fla file