A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: PrintJob prints ok, but zooms into the flash movie

  1. #1
    Senior Member
    Join Date
    Aug 2001
    Location
    Philippines
    Posts
    515

    PrintJob prints ok, but zooms into the flash movie

    Hey everyone,

    Well, the title says it all. After it prints, the movie is zoomed, and to go back out, I have to right click and "Show All".

    Why does it do that? How do I get around it?

    Thank you,
    Ramon Miguel M. Tayag

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Location
    Philippines
    Posts
    515
    I suppose this hasn't happened to others bfore? I'll post up a swf as soon as I get rid of the copyrighted material.
    Ramon Miguel M. Tayag

  3. #3
    Senior Member
    Join Date
    Aug 2001
    Location
    Philippines
    Posts
    515
    Here it is:

    http://share.quirkworks.net/p12.swf

    It's in my language, but on the top right, you can see "print". Click on that, and it tries to print. But, the movie gets zoomed in! Strange..

    This is the code on the button:
    Code:
    	var pj:PrintJob = new PrintJob();
    	this.createTextField("tfTemp", this.getNextHighestDepth(), 10, 10, 500, 22);
    	tfTemp._alpha = 0;
    	tfTemp.multiline = true;
    	tfTemp.wordWrap = true;
    	tfTemp.autoSize = true;
    	tfTemp.text = tfText.text;
    	
    	if(pj.start() )
    	{
    		pj.addPage(tfTemp, {xMin:-50,xMax:750,yMin:-50,yMax:600} );
        }
    	
    	tfTemp.text = "";
    	removeTextField(tfTemp);
    	delete pj;
    I know it's not super clean, but displaying another textbox while printing isn't an issue.

    Thanks!
    Ramon Miguel M. Tayag

  4. #4
    Senior Member
    Join Date
    Aug 2001
    Location
    Philippines
    Posts
    515
    What do you guys think?

    Thanks!
    Ramon Miguel M. Tayag

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