[Flashcoders] printJob

2012-10-04 Thread Ted Lehr
So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return; var origWid:Number = clip.width; clip.width = printJob.pageWidth; clip.scaleY =

Re: [Flashcoders] printJob

2012-10-04 Thread Hans Wichman
because your clip has a filter and its filtered dimensions are too large? On 4-10-2012 19:25, Ted Lehr wrote: So I have a sprite that has a child sprite with some objects in it... I am trying to print it with code like: if ( !printJob.start() ) return;

RE: [Flashcoders] printJob

2012-10-04 Thread Ted Lehr
Not filter that I am aware of... -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Hans Wichman Sent: Thu 10/4/2012 1:33 PM To: Flash Coders List Subject: Re: [Flashcoders] printJob because your clip has a filter and its filtered dimensions are too large

RE: [Flashcoders] printJob

2012-10-04 Thread Ted Lehr
although I am using custom classes i.e. var headC:gridHead = new gridHead() maybe that is what it is referring to -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Hans Wichman Sent: Thu 10/4/2012 1:33 PM To: Flash Coders List Subject: Re: [Flashcoders

Re: [Flashcoders] printJob

2012-10-04 Thread Hans Wichman
to -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com on behalf of Hans Wichman Sent: Thu 10/4/2012 1:33 PM To: Flash Coders List Subject: Re: [Flashcoders] printJob because your clip has a filter and its filtered dimensions are too large? On 4-10-2012 19:25, Ted Lehr wrote: So

[Flashcoders] PrintJob - Mac vs. PC PDF error

2008-05-01 Thread Radley Marx
Hey all, I have a project containing a diagram that needs to be printed. Often the diagram is too large for a single page, so it's sliced/spread over multiple pages. Further, there's an option that the page may include a header and footer. The code was all developed and tested on a

Re: [Flashcoders] PrintJob - Mac vs. PC PDF error

2008-05-01 Thread Glen Pike
Hi, I have been doing some work with PrintJob in AS2 Flex recently. I managed to get it working okay for single pages in AS2 and 2 page spreads in AS3, not sure what you mean by a PDF error, but are you sure it's not your printer driver. I have been using CutePDF Writer which has

Re: [Flashcoders] PrintJob - Mac vs. PC PDF error

2008-05-01 Thread Radley Marx
Thnx Glen, I forgot to mention this is AS2 (an old project). No Flex involved, just Flash Player 8 ( above). background So, PrintJob offers the ability to spread out a large image over several pages. This works fine. The trickier part is a printout that requires a header MC and footer

Re: [Flashcoders] PrintJob - Mac vs. PC PDF error

2008-05-01 Thread Glen Pike
Hi, It sounds like you are going through the right process. Are you checking the return value of PrintJob.addPage() If it does not like what you are doing, it will return false, so you can catch this and maybe trace out an error to see if that is a problem I have just been

[Flashcoders] PrintJob

2008-04-30 Thread Glen Pike
Hi, I am doing some work with the PrintJob to print a movieclip. This movieclip has a child clip with filters applied at design time. The filters show up in the clip on stage, but not in my printed image - I am printing to PDF. Am I missing something out here?? The example

Re: [Flashcoders] PrintJob

2008-04-30 Thread Rich Shupe
Glen, just a wild guess, but maybe switching to printAsBitmap will help. This may be unavoidable if the cached bitmap is used for the filter but not for the printing. If so, you'll just need to create a BitmapData object of everything you want to print. Rich http://www.LearningActionScript3.com

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Gregory N
Hi David, I'd try to use PrintJob.pageWidth and/or PrintJob.pageHeight instead of .orientation . Also, why not determine needed scale at runtime: postcardClip._xscale = 100 * myPrintJob.pageWidth/postcardClip._width; postcardClip._yscale = postcardClip._xscale; -- -- Best regards, GregoryN

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Steven Sacks
I cover this topic on my blog. :) http://www.stevensacks.net/2007/03/16/force-landscape-printing-with-printjob/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Hans Wichman
http://objectpainters.com/blog/?p=9 On 5/2/07, Dave Wood [EMAIL PROTECTED] wrote: Hi I'm having problems correctly rotating a movieclip to accomodate users printing in either portrait or landscape format. There was a thread about this maybe 4 to 6 weeks ago and I'm unable to locate it in

Re: [Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-02 Thread Dave Wood
Thanks guys Steven, I've played around with your code and got it working on my setup but will need to test later in the day on the computer/printer combination that was causing the problems. I needed to modify it though because your code assumes the clip is scaled at 100% to start with.

[Flashcoders] printJob, orientation and rotation or scaling issues

2007-05-01 Thread Dave Wood
Hi I'm having problems correctly rotating a movieclip to accomodate users printing in either portrait or landscape format. There was a thread about this maybe 4 to 6 weeks ago and I'm unable to locate it in the archives. If anyone recalls that, would they mind pointing me to it? The

[Flashcoders] PrintJob acting weird

2007-04-12 Thread Flap Flap
Hi there, I got a simple code to print a mc. This mc is special for printable content and not show (_visible = false) Here is my print code : var pj : PrintJob = new PrintJob(); if (pj.start()) { pj.addPage( view.mcPrint, null, {printAsBitmap:Boolean}); pj.send();

[Flashcoders] PrintJob and dynamic functionality

2006-11-08 Thread David Cohn
Hey all, I'm trying to use the printJob class (AS 2.0) to print a page with a dynamically drawn chart, something like: mc_pp = _root.createEmptyMovieClip(printbox, this.getNextHighestDepth()); mc_pp.attachMovie(printPage+i, printPage, 100, {_x:-1000, _y:-1000}); //

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 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 br'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

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

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

2006-08-18 Thread Peter O'Brien
- 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 Scrollable textArea

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

2006-08-18 Thread hank williams
of movieclips. NOTE : this is easier than it seems. Been there, done that, Regards, Hans. -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

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

2006-08-18 Thread Meinte van't Kruis
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 Scrollable textArea with Flash, but it's a kind of nightmare. I tried

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

2006-08-18 Thread Meinte van't Kruis
:26 To: flashcoders@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

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 as it's

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 using

[Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
Hi all... I'm adding a simple printsomeinfo page to my project but something strange is happening! The printout will be of pure text with no images so I'm setting the printAsBitmap to false... but the content of my SWF (all of it including loaded clips) just dissapeares once the print

Re: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
Never mind... I think it's going to be a long long week... -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
Do you still need help with the issue, or did you figure it out? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap Never

Re: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap Never mind... I think it's going to be a long long week... -- === Éric Thibault

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
Yuk... I don't envy you. Been there, done that! ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 2:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap I had an error

[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

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 Creates

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-04-03 Thread Tyler Wright
I have over 20 years of programming experience including at assembler level, advanced Java, etc, but thanks for trying to put me in my place :-) There is no error. There is no timeout. Not in the PrintDialog object. I think the FlashCoders list in general has a silly habbit of saying

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread
Mar 2006 09:04:19 -0500 Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over lunch.Please warn us when you are going to do this, since from the tone

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread Steven Sacks
As the system is composed of many V2-style components, many of which use interval timers to get around initialization issues, and has a lot of real-time financial data transfer going on in the background, setintervals, etc etc, that to reengineer it at this stage is totally out of the

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread Ron Wheeler
[mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 09:04:19 -0500 Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. I would suggest setting the timeout to 7200 seconds and then test it to see what happens if you leave it sitting over

[Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread
Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved issue. In a couple of places we have print functionality. When the print job system

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
Is this a known Flash bug? It's not a bug. Is there a workaround? You cannot change the timeout. We've been trying to solve it for about a month. A 5 second google search would have saved you 30 days of wasted time. http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15512

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
@chattyfig.figleaf.com Subject: [Flashcoders] PrintJob causes Abort Script error message. Apologies for reposting, hopefully someone has come across this before. We have a large and complex Flash RIA that represents almost 2 years of development effort. Unfortunately we have one major unresolved

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Danny Kodicek
Steven's response was a little unhelpful :) Is this a known Flash bug? It's not a bug. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
, March 29, 2006 2:58 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. PrintJob is a poorly written class in general. Also, it runs synchronously when it talks to the system. The reason Flash throws up the alert is because for 15 seconds

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Lee McColl-Sylvester
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 29 March 2006 12:03 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven's response was a little unhelpful :) Is this a known Flash bug? It's not a bug

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steve Webster
On 29 Mar 2006, at 12:07, Steven Sacks wrote: I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running.

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Danny Kodicek
I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed, the Flash movie should simply not be running. PrintJob makes a synchronous call to the OS.

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread André Goliath
To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. Well, there IS a workaround but you have to hack your swf using flasm and set the timeout to some larger number. This really is not recommended and most people use this to actually decrease

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Lee McColl-Sylvester
To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. I would suggest that it is: there's no error in the code, and it's not that the Flash movie itself is running slowly, it's purely a result of user interaction. While the print dialogue is displayed

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread
PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 03:34:35 -0800 Subject: RE: [Flashcoders] PrintJob causes Abort Script error message. The modal dialog does not belong to Flash, it belongs to Windows, andspecifically it belongs to the browser window that contains the Flash

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread
Fab, thanks, I'll give it a try. --- On Wed 03/29, =?iso-8859-1?Q?Andr=E9_Goliath?= [EMAIL PROTECTED] wrote: From: =?iso-8859-1?Q?Andr=E9_Goliath?= [mailto: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Date: Wed, 29 Mar 2006 13:28:18 +0200 Subject: RE: [Flashcoders] PrintJob

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
And for the record, I am certainly no friend of the PrintJob class. It's poorly written and I've pointed out its numerous flaws in previous posts to this list. Yes, it shouldn't have been coded to work the way it does. The way it works is poorly thought out. But, that doesn't mean that it's a

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Steven Sacks
PrintJob works fine in simplistic Flash movies. Try and do anything advanced (such as a stock exchange trading system) and it will cause the alert to appear. That ain't an error with my code! Ah ha! So now we get to the bottom of it. PrintJob does not cause Flash to alert about a slow

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Danny Kodicek
And for the record, I am certainly no friend of the PrintJob class. It's poorly written and I've pointed out its numerous flaws in previous posts to this list. Yes, it shouldn't have been coded to work the way it does. The way it works is poorly thought out. But, that doesn't mean that

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Lee McColl-Sylvester
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ron Wheeler Sent: 29 March 2006 15:04 To: Flashcoders mailing list Subject: Re: [Flashcoders] PrintJob causes Abort Script error message. Steven Sacks wrote: I have explained in detail the source of your problem

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Lee McColl-Sylvester
Wow, I really should break my sentences up with comma's and fullstops. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee McColl-Sylvester Sent: 29 March 2006 15:22 To: Flashcoders mailing list Subject: RE: [Flashcoders] PrintJob causes Abort Script

RE: [Flashcoders] PrintJob

2006-03-29 Thread Mike Mountain
-Sylvester Sent: 29 March 2006 14:35 To: Flashcoders mailing list Subject: RE: [Flashcoders] PrintJob The Print feature of Flash prints the passed MovieClip... It there is content that the MovieClip isn't showing, then you need to print the inner clip containing the content instead. To find

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-29 Thread Ron Wheeler
Steven Sacks wrote: Please warn us when you are going to do this, since from the tone of the conversation, there is some sense that this will cause the end of civilization as we know it. Hacking the swf to increase the timeout is not the solution, it's a band-aid on a gunshot wound.

[Flashcoders] PrintJob causes Abort Script message to appear

2006-03-21 Thread
I'm working on a complex Flash online application. Its all done in code and components, consisting of over 200 classes and probably around 50,000 lines of code. Unfortunately we have one unresolved issue. In a couple of places we have print functionality. When the print job system dialogue

[Flashcoders] printJob movieclip positioning

2006-01-20 Thread Yves Peckstadt
Hi, I'm currently making an application in flash that needs to print any mc that you throw at it in a decent and structured way. This is of course possible with the printJob class but I'm encountering some positioning problems at the moment. Scenario: I have a very big mc (in height) and I

Re: [Flashcoders] printJob movieclip positioning

2006-01-20 Thread Steve Webster
Hi Yves, I'm currently making an application in flash that needs to print any mc that you throw at it in a decent and structured way. This is of course possible with the printJob class but I'm encountering some positioning problems at the moment. Scenario: I have a very big mc (in

RE: [Flashcoders] PrintJob Landscape printing with Portrait

2006-01-18 Thread Steven Sacks
Here is a refined version of my function: function printImage(mc) { var realW = mc._width; var realH = mc._height; pj = new PrintJob(); var pageCount = 0; if (pj.start()) { var cXscale, cYscale; if

[Flashcoders] PrintJob Landscape printing with Portrait

2006-01-17 Thread Steven Sacks
Hello everyone, I'm posting this here in order to provide another solution to the terrible misinformation available on Macromedia's site about how to convert a landscape image to portrait for printing using the PrintJob class. The code posted here at Macromedia's forums is VERY WRONG:

[Flashcoders] PrintJob Class - nested MC's and some wierdo print skewing

2006-01-06 Thread Pete Hotchkiss
I have the following var pageCount:Number = 0; var my_pj:PrintJob = new PrintJob(); if (my_pj.start()) { my_pj.addPage(target_mc, xMin:0,xMax:700,yMin:0,yMax:500}, {printAsBitmap:true},