11 Replies Latest reply on Sep 26, 2011 11:30 AM by Francisc

    Check class name of List ItemRenderer

    Francisc Level 3

      Hello,

       

      I am setting the itemRenderer of a Spark Mobile List like so:

       

      var ir:ClassFactory=new ClassFactory(MyItemRenderer);

      ir.properties={etc. etc.};

      list.itemRenderer=ir;

       

      How can I check if the list's itemRenderer is MyItemRenderer or at least a class name string comparison?

       

      Thank you.