1 Reply Latest reply on Oct 2, 2006 6:43 PM by peterent

    Printing a ViewStack

    nated
      Anybody have any ideas on how to print a ViewStack - with each child/item as a different page? I can pull off each item incrementally as a Display Object, unfortunatley, the FlexPrintJob.addObject() requires a IUIComponent object and the PrintJob.addPage() requires a Sprite. I've got no clue on how to convert those or what to do! Thanks -Nathan
        • 1. Re: Printing a ViewStack
          peterent Level 2
          You've actually found the answer. Your children of the ViewStack - be they Canvas, HBox, VBox, etc. are all instances of UIComponent (which implements the IUIComponent interface). So you can use those to the FlexPrintJob.addObject function.