Thank you for your considered replies. I'm starting to get it now.

It looks as if you are creating a custom HSlider with additional properties
named 'presenter' and 'thumbInst'. When the creationComplete event is called
you pass in the SliderView_Presenter class. When you Set the presenter
property you check to ensure you have an instance of the 'thumb' part and if
you do then you assign thumbInst.skin.presenter the instance of
SliderView_Presenter (this must have to be the same instance and not
instantiate a new instance otherwise when a property in the original
SliderView_Presenter class changes the skin will not see this change?).

This looks to me as if I first need to create a property within the thumb
skin named 'presenter' so that I can set it with the SliderView_Property
instance I'm passing in?

In my SliderView_Presenter class I assign a property named buttonColour a
uint value by default and when a parameter is passed in from the host web
page a simple switch function assigns the correct colour depending on the
parameter value passed in. How can I use this to update, say a rectangle, in
my skin please?

Chris



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

Reply via email to