If anyone can help me, or has seen this problem before I would be a very happy person! I built a custom print feature for an interactive map that prints the current area of the map you are viewing. The feature works perfectly on a Mac, and everything prints out great. Yet when I try and print on a PC the main area of the map I am printing prints out black.
I have literally tried everything, swapping the MC to the highest possible depth before it prints and swapping it back after. I tried removing all masking to see if it would print. I tried printing the clips embedded within _level0 that contain the map, and even the MC’s inside of those. All of this to no avail though. Which leads me here to see if anyone has run into a similar problem and found a potential solution.
Here’s the URL for you to check out is here:
The code I used for printing is below (thisLevel is set to the _root of the movie for preloader purposes, so just think of that as _root):
printCurrent = function(){
var mapPrint:PrintJob = new PrintJob();
var myPrintSuccess:Boolean = mapPrint.start();
if(myPrintSuccess{
if(mapPrint.orientation == "landscape"){
trace("landscape");
mapPrint.addPage(thisLevel,{xMin:11,xMax:739,yMin:63,yMax:523});
mapPrint.send();
}
else if(mapPrint.orientation == "portrait"){
trace("portrait");
thisLevel._rotation = 90; //rotates map to print properly in portrait
mapPrint.addPage(thisLevel,{xMin:11,xMax:739,yMin:63,yMax:523});
mapPrint.send();
thisLevel._rotation = 0;
}
}
delete mapPrint;
}