1 Reply Latest reply on Jul 20, 2010 8:17 AM by Gregor.Kiddie

    Binding to an object

    Zolotoj Level 3

      I am trying to come up with something like this in my mxml file

      ....

      enabled="{this.paramObj.currentitem == this.paramObj.pack ? false:true}"

      ....

      where paramObj in an object created at the run time.

      I am getting a warning about unable to bind and as a result by button's enabled property is not properly set at the run time.

       

      Any idea how to accomplish that?

       

      Thanks