i'd like  to print to screen a page simulation printdatagrid

while(true)
{
    thePrintView.myDataGrid.nextPage();
                           
    myList.dataProvider.addItem({label:thePrintView});  
}



the render of list


public override function set data(value : Object) : void
 {
        super.data = value;

        if (value != null)
        {
                
           var  thePrintView2:FormPrintView = value.label;
 
           can.addChild(Sprite(thePrintView2));

        } 
}

        ]]>
    </mx:Script>
    
  
  <mx:Canvas id="can" height="90%" width="100%" >
    
  </mx:Canvas>

i've get one page the reste is canceled

how can i do it

thanks

Reply via email to