2 Replies Latest reply on Mar 27, 2011 5:14 PM by Mark Embrey

    XML and IEventDispatcher error? also - what is Complex XML?

    Mark Embrey Level 1

      ... for starters I'm still pretty much a newb...

       

      I'm working with XML on a Flash Builder project. The XML is defined as follows:

      [Bindable]
      public var someXML:XML = new XML(
      <someData label"One">
      <someMoreData>
      ....



      I'm getting the following warning:

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

      1. What do I need to do so that the class will be an IEventDispatcher?

      2. also, I don't know the definition of "complex XML". Can anyone enlighten me
      on that?

      thank you!

      Mark