A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [RESOLVED] [CS3, AS2] PrintJob printing purple

  1. #1
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576

    resolved [RESOLVED] [CS3, AS2] PrintJob printing purple

    Greetings, I'm using PrintJob to print some assets within the Flash, but it always prints out purple-ish. I've even tried making a new file, bringing in a new image, & yet - it prints purple!
    Anyone know why, &/or how to fix it?

    Here's the code I'm using:
    Code:
    printBtn.onRelease = function() {
    	var pj = new PrintJob();
    	var success = pj.start();
    	if(success) {
    		pj.addPage (_root.myMC, {xMin : 0, xMax: 222, yMin: 0, yMax: 223},{printAsBitmap:false});
    		 pj.send();
    	}
    	delete pj;
    }
    (I've tried printAsBitmap both true & false, & have removed it completely - no change)
    Here's an image of the issue, on the left is the actual colors, on the right is the purple color-eater...

    1 Infinite Loop, Cupertino is a portal of Hell.

  2. #2
    Flashmatics silentweed's Avatar
    Join Date
    Mar 2005
    Location
    London, UK
    Posts
    4,875
    try just opening a new flash document and give it the some object the same shade of green and see if it prints out ok ... maybe your printer is running out of certain colors
    Flashmatics | Flashmatics Library (free downloads)
    -----------------------------------------------------
    Latest Projects:
    The Dead Room | Are You Smarter | Prison Break (Frame A Friend) | Beck's Fusions | The 24 Experience

    -----------------------------------------------------
    Flash Certified Developer

  3. #3
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576
    the screenshot above is a snapshot of the Flash window (green), & the print preview (purple - & yes, it also prints purple) windows up next to each other - also, the above screenshot is a new document where i just pulled in some random image, & copied/pasted the code in - the result was the same - purple. It doesn't matter what image it is - it even prints plain black text purple.

    If you wanted to test it:
    if you open a new document, make a printBtn, bring in a random image (& convert to MC) & copy/paste my code above, is it purple for you? You can specify to "Preview" instead of printing.
    1 Infinite Loop, Cupertino is a portal of Hell.

  4. #4
    Junior Member
    Join Date
    Mar 2005
    Posts
    5
    I am experiencing the same problem. Even regular text blocks (statis or dynamic) get's purple colors.

    Odd...

  5. #5
    Junior Member
    Join Date
    Mar 2005
    Posts
    5
    Further research shows that this only happens when using Flash internal preview (Text Movie / Cmd+Enter). If you open it in your browser or flash player everything looks normal.

    Regards,
    Niklas

  6. #6
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576
    WOW!!

    Way To Go, bivald!!!!

    Thank you so much for thinking outside Flash's little sandbox!! While I don't really care, I'm a bit curious why Flash doesn't like itself!

    Thanks again, you rawk!
    1 Infinite Loop, Cupertino is a portal of Hell.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center