5 Replies Latest reply on Jan 20, 2011 9:07 AM by Gregory Lafrance

    Problem with XMLList/XML when moving to flex 4

    flexchief

      I have a working piece of code which runs fine in Flex 3 but not in Flex 4. The problem is supposed to be with the XML/XMList I'm declaring:

       

          <mx:XMLListCollection id="dp">
              <mx:source>
                  <mx:XMLList>
                      <product label="€2" data="{twoEuroTotal}" />
                      <product label="€1" data="{oneEuroTotal}" />
                      <product label="50c" data="{fiftyCentTotal}" />
                  </mx:XMLList>
              </mx:source>
          </mx:XMLListCollection>

       

      The Error I am getting says "Access of undifined property_Application Name_XMLList1".

       

      Has anyone got a clue what is wrong here???

       

      Cheers

      Adam

      Flexchief