4 Replies Latest reply on May 7, 2010 12:01 PM by cyber0897

    can you add an item to a value object??? Error: 1069

    cyber0897 Level 1

      hey guys... so i have a webservice which returns me a datatype called tagInfo, i was wondering if there is a way i can create a new property to a value object??

       

      ive tried something like

       

              var obj:Object = new Object();
              obj.approved = false;
              tagArr[i].addItem(obj);
              displayTagArr.addItem(tagArr[i]);

       

       

      and it gives me an error on the line "tagArr[i].addItem(obj);"

       

      the error states

       

      Error #1069: Property addItem not found on valueObjects.TagInfo and there is no default value.

       

      thanks