Groups | Blog | Home
all groups > flash actionscript > june 2005 >

flash actionscript : printJob Class; dynamic scrollable text box


repressed radar
6/14/2005 8:16:47 PM
RE: printjob class; printing all text from dynamic scrollable text box

How do I tell it , when adding addtional pages, that the text is supposed to
CONTINUE pulling from the text coming into the scrollable text block?

It thinks it needs to print 3 pages, each starting at the begining. All three
pages print identical.

thanx. CAn it evaluate number of lines?:::

on (press) {
var content_pj.PrintJob = new PrintJob();
if (content_pj.start()) {
var pagesToPrint:Number = 0;
if (content_pj.addPage(content,{xMin:-38.9,xMax:594,yMin:-40,yMax:756.0})) {
pagesToPrint++;
}
if (content_pj.addPage(content,{xMin:-38.9,xMax:594,yMin:-40,yMax:756.0})) {
pagesToPrint++;
}
if (content_pj.addPage(content,{xMin:-38.9,xMax:594,yMin:-40,yMax:756.0})) {
pagesToPrint++;
}

if (pagesToPrint > 0) {
content_pj.send();
}
}

// clean up
delete content_pj;
}
repressed radar
6/15/2005 12:00:00 AM
Flash is not supposed to be used this way is it.
I can print multiple pages, but if use a scollable dynamic text box this is
incorrect use of printjob class?

Flash is for "flashy" but not robust ?

3 days of my life wasted.
repressed radar
6/17/2005 12:00:00 AM
Recalling request for help.
Have chosen to not use flash for the project.
Please disregard frustrated request for help.

thank you,

Kind regards,
AddThis Social Bookmark Button