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

    Check class name of List ItemRenderer

    Francisc Level 3



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


      var ir:ClassFactory=new ClassFactory(MyItemRenderer);

      ir.properties={etc. etc.};



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


      Thank you.