2 Replies Latest reply on Aug 20, 2009 3:44 AM by univold

    "Data binding will not be able to detect assignments for ..." warning for [Bindable] variable

    univold

      Hi,

      I got the warning for variable marked as [Bindable].

       

      ......
      <mx:Script>
           <![CDATA[
                      [Bindable]
                       public var customer:CustomerTransfer;
      </mx:Script>
      .....
      <mx:Label text="{customer.firstName}" />
      .......
      

      so, while I'm trying to assign text for the Label, I'm getting compile-time warning...

      Is it possible to get rid of that?

       

      Program works fine, but compile-time warnings are really annoying. It makes me thinking that there is something wrong and unsafe in a code...

       

      Should some other approach be used in order to access properties of [Bindable] oblect?

       

      --

      Any suggestions would be very appreciated.