Asyncronous Component Issues
got issue trying create , populate datagrid , print. thing datagrid doesn't render blank patch in print file.
so come work around, print preview, whole page has opportunity render before it's printed. problem there's data need print multiple pages. have 3 pages worth of content, try render 3 datagrids each in page template mc, on stage @ same time toggle visibility pending page want view. new issue sends memory through roof attempts render datagrids @ once, flash player displays it's "some code has made flash player run slowly" message.
i'm tired of coming work arounds these extremely limited components, i'll consider writing own datagrid render when tell , not crash memory when it's called!
but before i'd love hear if other people have come way of getting around above mentioned issue offending component.
so come work around, print preview, whole page has opportunity render before it's printed. problem there's data need print multiple pages. have 3 pages worth of content, try render 3 datagrids each in page template mc, on stage @ same time toggle visibility pending page want view. new issue sends memory through roof attempts render datagrids @ once, flash player displays it's "some code has made flash player run slowly" message.
i'm tired of coming work arounds these extremely limited components, i'll consider writing own datagrid render when tell , not crash memory when it's called!
but before i'd love hear if other people have come way of getting around above mentioned issue offending component.
i've run same thing in different situations datagrids, , i'm getting ready work on of same functionality doing. if need add page after grid has rendered, try using dolater method. i'm not 100% sure solve particular problem, i'd there's chance can accomplish looking for.
mydg.dolater(this,"adddgpage")
function adddgpage(){
//add print page here
}
mydg.dolater(this,"adddgpage")
function adddgpage(){
//add print page here
}
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment