6 Replies Latest reply on Mar 3, 2009 11:52 PM by RdJ-1

    [Flex3/AS] Button as IFactory (Accordion headerRenderer)

    RdJ-1 Level 1
      I have a problem with headerRenderer for Accordion in actionscript. I want to create a headerRenderer:

      var headerButton:Button = new Button;
      theAccordion.headerRenderer = headerButton;

      It won't let me use a button as headerRenderer, but how to set it to an IFactory?