Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
PrintJob or Windows XP troubleshooting?

PrintJob or Windows XP troubleshooting?

2004-03-17       - By FODOR

 Back
Hi,

It seems there is some odd behavior with printJop on Windows XP (SP1).
Here is the code structure of my printing function. So far it worked great
on MAC & PC Windows 2000, but the client seems  to be getting the mask
instead of what is masked on Windows XP with laser printers:
<code>
function printPlan(){
   if(System.capabilities.version.split(" ")[1].split(",")[0]>6){
       /*set printing display
       -turn off visibility of undesired clips
       -position some labels
       -etc... */
       mainObj.setMask(screen);// mainObj is the main movieClip
       //print
       var pj = new PrintJob();
       var pjResult = pj.start();
       if (pjResult) {
           pj.addPage(mainObj);
           pj.send();
       }
       delete pj;
       mainObj.setMask(null);
       // reset stage to original
       
   } else {
       //some alert
   }
}
PrintPlan();
</code>

Does anyone see something wrong or missing?

Thanks.
-- ---- ---- ---- ---- ---- ---- ---- ----
Pascal FODOR

-- ---- ---- ---- ---- ---- ---- ---- ----
fodor@(protected) // flash@(protected)

******************************************
Visit: http://fodor.liane.net

Flash AV Players can be seen at:
http://fodor.liane.net/flash_AV_players/
******************************************














=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107180
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)