Hi. This is not a problem, but rather a Solution for those in need of it

To generate random Hex Color (e.g. 0xFF00FF) on Flash, I've modified a code I found on the internet, and it's almost perfect:

Actionscript Code:
value = Math.round( Math.random()*0xFFFFFF );
    _root.text_name = value.toString(16);
}

The value variable will generate a random Color Code in another language, but in the second line, we use the toString(16) code to convert the foreign language into Hex Color Codes. This is almost perfect, and when I say almost, I mean that I've run a script to check if this code is firesure. The results showed as following:

With a Framerate of 30 FPS, 100 of those Hex Color Codes will appear with 5 Digits, while the rest, with 6 Digits (the usual)!

Here is a simple code to generate a Random Color for a text field, through a button:

Actionscript Code:
on(press){
    value = Math.round( Math.random()*0xFFFFFF );
    _root.myText = value.toString(16);
    _root.myText = _root.myText.toUpperCase();
    _root.myText.restrict("A-F 0-9");
}

This code will generate a random Hex Color code on a Dynamic Text named myText, when a button is pressed (this actionscript is on a button). Also it will make all the values in the Hex Color Code, Uppercase, 'cause that looks better. Also if Flash were EVER to generate a code except 0-9, A-F, I've coded a simple actionscript that will prevent that from happening, even though it's 99,99% for sure that Flash won't do it, but you never know :P