In AS3, RGB colors are expressed as uints... red would be 0xFF0000 in
hex notation.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of chigwell23
Sent: Friday, April 25, 2008 12:01 AM
To: [email protected]
Subject: [flexcoders] still having trouble assembling Flex property
assignments from string calcs

 

testSurface.fill221.color = "#FF0000"; //works

testSurface.["fill" + fillNo].color = #FF0000 // fillNo = 221

is what I would do in another life :-) ... could someone set me on the
straight and narrow? TIA,

Mic.

 

Reply via email to