# Radom Color Generator

**URL:** <https://forum.kirupa.com/t/radom-color-generator/205924>\
**Category:** Uncategorized\
**Created:** [November 3, 2006, 6:55am UTC](https://forum.kirupa.com/t/radom-color-generator/205924 "2006-11-03T06:55:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superarona](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@superarona](https://forum.kirupa.com/u/superarona)\
**Post date:** [November 3, 2006, 6:55am UTC](https://forum.kirupa.com/t/radom-color-generator/205924/1 "2006-11-03T06:55:11Z")

</div>

I was reading this tutorial titled as [COLOR=“Green”]Random Color[/COLOR] ([http://www.kirupa.com/developer/flash5/randomcolor.htm](http://www.kirupa.com/developer/flash5/randomcolor.htm))in the Flash tutorials, Advance Script section. I have a few questions.

In the tutorials it has parts like:

[COLOR=“Blue”]\_root[[COLOR=“green”]“r”[/COLOR]+myNum+[COLOR=“Green”]“Diff”[/COLOR]][/COLOR]  
[COLOR=“blue”]\_root[[COLOR=“green”]“r”[/COLOR]+myNum+[COLOR=“green”]“New”[/COLOR]][/COLOR]  
[COLOR=“blue”]\_root[[COLOR=“green”]“r”[/COLOR]+myNum+[COLOR=“green”]“Change”[/COLOR]][/COLOR]

are the “r”, “Diff”/“New”/“Change” defined in the Object class?  
how does flash know what is “r” = red, “b” = blue, “g” = green and the meanings of “Diff”, “New” etc.

Secondly, do the square brackets mean anything? Is that what makes flash understands the weird things mentioned in the above question?

Thank you very much
