Hi Chris,
sorry, but no code so far.
given what you said I think you are missing one [Bindable] meta tag
let's say you have following class
public class Foo {
[Bindable]
public var color:uint = 0x0;
public function setColor():void {
color = 0xaaaaaa;
}
}
now in your view you need to declare a bindable variable of type Foo, let's
call it foo
[Bindable]
private var foo:Foo = new Foo();
having this you can bind you Rectangle's SolidColor's color to "foo.color"
by calling method setColor() you will change it's color from black to grey.
Simple working example can be found here: class Foo [1] Simple App view
with rectangle [2]. Hope it helps.
[1] http://pastebin.com/Ghqtg5NF
[2] http://pastebin.com/nCf8DJ6v
Martin Miko
On Sun, Jan 26, 2014 at 1:25 PM, Tintin <[email protected]>wrote:
> Can you see the code now?
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Can-I-Bind-a-SolidColor-Fill-Value-tp4615p4620.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>