Source code bas been stripped.  Use text only
________________________________________
De : Tintin [[email protected]]
Envoyé : samedi 25 janvier 2014 21:22
À : [email protected]
Objet : Can I Bind a SolidColor Fill Value?

Hello

I have defined a Spark Rect and want to bind its fill value to a property in
a presenter file, is this possible?

I have declared my presenter Class as [Bindable]. In my presenter I have a
property as follows:


I have a Switch statement to change the value depending on the value of
another property which may change:


In my mxml file I have defined a Rectangle as follows:


Frustratingly my rectangle remains black even though I know the Switch
statement is working, as initially set in the class. I'm sure there's a
'schoolboy error' somewhere but I can't see it!

Regards

Chris



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Can-I-Bind-a-SolidColor-Fill-Value-tp4615.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to