Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-08 Thread Muzak
With the MovieClip route you can duplicate the MovieClip "manually": http://www.senocular.com/flash/actionscript.php?file=ActionScript_3.0/com/senocular/display/duplicateDisplayObject.as There's an optimized version in the LiveDocs comments, that duplicates child MovieClips recursively: http://li

Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-08 Thread Muzak
Here's one way of doing it: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="appInit();"> Note that the loaded swf is not duplicated, but the loader content (which is a MovieClip) is assigned to the source property of an SWFLoader instance. Another way would be

Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-07 Thread Muzak
http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="appInit();"> regards, Muzak On 11/7/07, handitan <[EMAIL PROTECTED]> wrote: >> >> Hi Muzak, >> >> Thank you for the suggestion. >> Hmmm..how do you transform it to a BitmapData? So far I haven't >> gotten an

Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-07 Thread Anatole Tartakovsky
Alex, It might worth another mentioning to the player team that print job should survive asynchronous rendering from the print template. In most environments you can do setTimeout to validate that all items are loaded/rendered. Current print job automatically closes upon the script completi

Re: [flexcoders] Re: Flex 2.0.1: itemRenderer won't get printed using PrintDataGrid

2007-11-04 Thread Muzak
Display the images as bitmapdata in the itemrenderer. So rather than passing the image url to the itemrenderer, load the image upfront, transform into bitmapdata and pass that on to the itemrenderer. Haven't tried it, but think it should work. regards, Muzak - Original Message - From: