1 Reply Latest reply on Jan 5, 2010 9:10 AM by Flex harUI

    about ItemRenderer and dataProvider


      I have a working solution for my project, but while testing it I found something I don't understand..


      // dataProvider returns object with two values (value1 and value2)...
      <s:DataGroup dataProvider="{myCallResponderThatGetsDataFromPHPCallToMySQL.lastResult}">
                override public function set data(value:Object):void {
                     trace(value == super.data);
                }</close all tags>
      // trace output:


      What I don't understand is why trace gives one true and two false outputs... If I trace just value, i get one null and two [object Object] results..

      So can anyone explain how this data assignment works?