1.
http://flash-mx.html.it/faq/view_faq.asp?idcat=4&id=7

2.
codice:
new Color(istanza_rettangolo).setRGB(0xFF0000);