6 Replies Latest reply on Sep 5, 2007 5:29 PM by Handycam

    unable to bind to property

    Handycam Level 1
      OK, why do I get this error in my flashlog.txt:

      warning: unable to bind to property 'bodyText' on class 'XML' (class is not an IEventDispatcher)

      Here's my Variable:
      [Bindable]
      public var _stepData0:XML;

      The variable is assigned data like so:
      private function assignStepData():void {
      _stepData0 = _xmlData.step[0]; }

      _xmlData is from the XML file: _xmlData = event.result.steps;

      And the variable is used like so:
      <mx:Text text="{app._stepData0.bodyText}" styleName="bodyText" width="100%"/>