I am getting an error on a line in my AIR application:
ReferenceError: Error #1069: Property _bindings not found on components.EmployeeListPanel and there is no default value. at mx.binding::BindingManager$/setEnabled()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\binding\BindingManager.as:65]

I am sure this is a timing issue, but it works using it in a Flex builder 2 application. Any thoughts? I am thinking that in the Air application all components are loaded immediately. Just a guess.
I am using Flex 3 Beta 2

   /**
    *  Set isEnabled for all bindings associated with a document.
    *
    *  @param document The document that contains the bindings.
    */
public static function setEnabled(document:Object, isEnabled:Boolean):void
   {
<line 65:>        *if (document && document._bindings)*
       {
           var bindings:Array = document._bindings as Array;
for (var i:uint = 0; i < bindings.length; i++)
           {
               var binding:Binding = bindings[i];
               binding.isEnabled = isEnabled;
           }
       }
   }

Reply via email to