In fact Julien

You have to care about it, the basic steps to using kind solution you it a
must to not using like this.

For example here's a property way to that.

public class myModel extends Model
{
                   [bindable]
                   public var connected:Boolean;
}

You could extends the main class and please don't set at first moment a
value selected to that variable. It's more confortable if you set in the run
time.

Igor Costa


On 2/22/07, julien castelain <[EMAIL PROTECTED]> wrote:

  Hi list,

I have a model object in my flex application that has a public
"connected" (Boolean) property like this:

public class Model {
[Bindable]
public var connected:Boolean = false;
...
}

In my mxml file i have an instance of that model:

[Bindable]
private var _model:Model = Model.getInstance();

When i compile, even though every thing works as it should i have this
warning:

Data binding will not be able to detect assignments to "_model".
source="{_model.connected}"

So, should i care about that warning, and is there a solution to solve
this? Thanks




--
----------------------------
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta

Reply via email to