5 Replies Latest reply on Aug 27, 2011 11:45 AM by Francisc

    topLevelApplication data binding not detected warning

    Don Kerr Level 3

      This is more of an annoyance than an issue.


      Binding works fine with topLevelApplication, but there is always a compiler warning that says

      Data binding will not be able to detect assignments to  "topLevelApplication".


      Any way to ignore just this warning since it actually does work?


      //top level

      [Bindable] public var roEndpoint:String;

      [Bindable] public var roSource:String;


      //anywhere in the app


      id="cfdata" showBusyCursor="true"

      destination="ColdFusion" endpoint="{FlexGlobals.topLevelApplication.roEndpoint}"