Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-21 Thread Meinte van't Kruis
Very cool idea Haikal! Certainly seems the best option for text printing, I'm going to try it one day. thanks, -Meinte On 8/21/06, Haikal Saadh <[EMAIL PROTECTED]> wrote: My approach to printing oodles of multiline text is to let the browser do it: * When the print button is pressed, save

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-20 Thread Haikal Saadh
My approach to printing oodles of multiline text is to let the browser do it: * When the print button is pressed, save the contents of the text field to a Local Shared Object * Open up an empty HTML page, which has as invisible flash movie which can then: o Read that shar

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-20 Thread Peter O'Brien
Hey guys thanks for the code and input. The route I think I'm taking because it's html text and formatted, is to keep trimming at 's and checking if page is not too high. The page to print symbol I'm using has an aspect ratio for an A4 page (1: 1.414) and one big html text field (with 20px blank

RE: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Danny Kodicek
> How can you efficiently fill a textfield to the point in which you know it > is completely full? Here's a revised version using a word array. But as I said, including formatting would be more difficult and significantly slower. I tend to agree with Meinte that in this case you're better off usin

RE: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Danny Kodicek
> I have the same problem as the original poster. > > I don't suppose anyone can provide more info as a solution than Hans, or > Hans if you're there I would love to see some code. > > What are flash mc dimensions to match an A4 page? Doesn't it > vary according > to screen resolution? As long a

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Meinte van't Kruis
reate a loop of this to write out all your text. > > > > > > After all text is written out, you execute the printjob and remove > all > > > the movieclips with removeMovieClip by looping the array of > movieclips. > > > > > > NOTE : this is easier than it seems. > &

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Meinte van't Kruis
emove all > > the movieclips with removeMovieClip by looping the array of movieclips. > > > > NOTE : this is easier than it seems. > > > > > > Been there, done that, > > > > Regards, > > > > Hans. > > > > > > > > > > -O

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread hank williams
: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of julian > atienza > Sent: maandag 24 april 2006 17:26 > To: flashcoders@chattyfig.figleaf.com > Subject: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several > PAGES > > Hi. > I wanted to Print contents of a

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Peter O'Brien
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julian atienza Sent: maandag 24 april 2006 17:26 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES Hi. I wanted to Print contents of a long Scro

RE: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-04-24 Thread Van De Velde Hans
@chattyfig.figleaf.com Subject: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES Hi. I wanted to Print contents of a long Scrollable textArea with Flash, but it's a kind of nightmare. I tried to made a class to manage Printing (with a PrintJob object inside) , and one empty swf that Cr

[Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-04-24 Thread julian atienza
Hi. I wanted to Print contents of a long Scrollable textArea with Flash, but it's a kind of nightmare. I tried to made a class to manage Printing (with a PrintJob object inside) , and one empty swf that Creates Dynamically the TextArea and the Class to ManagePrinting, who feeds textArea with cont