Print Only Part Of A Page?
Jun 4, 2010Is it possible to alter this code to only print a certain area of my page?[code]...
View 1 RepliesIs it possible to alter this code to only print a certain area of my page?[code]...
View 1 RepliesAnd also is there a way to print a part of flash contents of maybe entirely compose the stuff (image that is) you give to printer.In my case i have a flash in which contains to pictures (basicaly even and odd page of a book) and other stuff. I want to add printing functionality. Also i want user to be able to choose what to print - whole flash, both pages or just one of them
View 2 Replieshow do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.
View 8 Replies<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="1501" height="960" minWidth="955" minHeight="600">
<fx:Declarations>
[Code]...
i have a text inputbox in a config tab. when a user gives a input and click the "set new config" button it will go to a syatem where there will be a textbox.In thet textbox the prev input will be shown.how to do this?
How can I make a action script controlled print screen that will save a part of a screen And can I filter a color out of it (so that only that one color will NOT be visible on the saved img) with AS
View 3 RepliesIn my web app, I would like to print a web page via a real, physical printer using Flash.I want to do this so that typical page headers added by the browser (eg. the URL and "Page x of y") do not get added to the printout.Perhaps I could generate a PDF and pass it to the SWF, or perhaps I could just send raw HTML ann CSS to the SWF, and then I could call some .print() method via Javascript against the SWF. So, 1) is this possible? and 2) is there a library (on GitHub perhaps) somewhere that would let me do this?
View 1 RepliesI am trying to print a few movieclips on one page. It looks like the PrintJob function wants to print each movieclip on it's own page. Does anyone know how to get more that one movieclip to print on the same page?
View 7 RepliesIn stage print_mc is there. print_mc._height too large how to print 2page print_mc
View 1 RepliesI have typed the following script in button. when we press that button the page has to print.
My problem is the content printed at the top left corner of the page, but I need it should be at the centre of the page.
on (press) {
// 72 pixels = 1 inch
// A4 printable height = 10.5 inches approx
var printableHeight = 11.69;
[Code].....
I need to create a button, or at least a movie clip that functions like a button that will print a page when clicked. Ideally I would like to have the button as part of the flash application, which will be online embedded into a web page as a .swf. on click the print page dialog box will appear, and the user will be able to print out the web page. What is the best way to code this?
View 3 Replieswhile taking Movieclip printout thru actionscipt, whatever text i used inside the Movieclip is get blurred. Moreover the print is not fit into the paper size (A4 size used).
Is there any setting available to change resolution while its get convert to bitmap and also is there any option to set "fit in to the paper size"
[Code].....
I want to print the current page (web page) when user clicks on a button.
View 14 RepliesI want to know about how to set pdf page settings to print properties dialog box?
For Example,
If my PDF page settings is Landscape then Layout automatically shows Landscape not Portrait. and If my PDF page settings is Protrait then Layout automatically shows Portrait.
I'm making a bracket for march madness. i have everything almost finished except I want people to be able to be able to print out their team picks.I'm able to print a page but it is blank.What I have on the stage:1. A button for people to press and print out their results. (instance name: print_btn)2. A movie clip that is on the stage that is the size of the stage as a reference as to what to print. (instance name: print_mc).3. An input text field for people to type in their team.
PHP Code:
import flash.printing.PrintJobprint_btn.addEventListener(MouseEvent.MOUSE_DOWN, printthis);function printthis(event:MouseEvent):void { var print_mc:PrintJob = new PrintJ
[code]........
I have the last page in my movie where users can input their names and hit print button. Everything is printed accept for the input text (names)
Is there anyway to capture the input text in the scene to send to printer?[code]...
Ok, this is a function that used to work...so I didn't check it for a while...and I did not edit it from when it was working in any way...but now the print function does not produce a page from the printer...when I click "Print View" the print dialog box comes up, and I can choose my printer, and when I click ok, there is a tooltip near the windows clock that says document sent to printer, but the printer never does anything...I have tested this in several printers and several computers...I have also tried to output to a pdf...and it allows me to choose a file name to save to but it never creates the file...
print button code:
Code:
printButton.onRelease = function()
{
var pj:PrintJob = new PrintJob();
[Code]....
I have movies loading into various levels (not my choice, but the head designer set it up this way) and the client decided they needed a print function. I am trying to avoid adding a print function to each swf since there are a lot of them.I have a function for printing, but it only allows me to define one level. And often we need to print multiple levels because elements are stacked on top of each other. Here is my action:
Code:
on (keyPress "<Down>", release){
var my_pj:PrintJob = new PrintJob();
[code].....
//I can get the right margins by defining a rectangle and giving it the following dimensions:
var rect1:Rectangle = new Rectangle(0, 0, 792,612);
//When the print button is pressed the following code executes using the dimensions defined by rect1:
prntCover_btn.addEventListener(MouseEvent.CLICK, printCover);
function printCover(evt:MouseEvent):void {
front_mc.visible = false;
[Code]....
This is not working to place the mc correctly on the page. This is all the Adobe help provides. Also Googled and tried different variations but no success.
I have used printjob in my project for printing. I have a stage with images, shapes and text etc in printing group. While printing, it takes some two to three minutes to getting print a single page. The Print Spooler window shows that 60MB for each page.
reduce this file size or how can i print without taking this long time.
i need to add to my flash page print and e-mail the schreenshot buttons. like the buttons in this page "
View 1 RepliesI'm trying to take a variable from a php page and send it to flash to then use in a link.I'm having problems just selecting ONE variable from the print function, the code will help explain:
PHP page
<?
print"fbook=facebook";
print"tweet=twitter-test";[code]....
It collects all the data fine but it does not print it out correctly, it prints out all the variables in the php in one link. For example: If i click the facebook icon, i will be taken to http:[url].... This also happens with the other icons (Youtube and Twitter).
I use loader to load page source of a webpage [code]...
When I used hadleResponse function to handle Event butI only loaded a part of page source. Now I want to load all page source such as when we click right-mouse to firefox and select view page source.
I use loader to load page source of a webpage
My code is:
private function load_page_source( ):void{
var addsearch:String = patent_num_txt. text;
var request:URLRequest = new URLRequest("[URL]");
loader.addEventList ener(Event. COMPLETE, handleResponse) ;
loader.load( request);
[Code] .....
When I used hadleResponse function to handle Event butI only loaded a part of page source. Now I want to load all page source such as when we click right-mouse to firefox and select view page source. How do I code?
When i use flexprintjob in Flex,it always popup a printing dialog which is printing driver.How can i skip this dialog and print directly?
View 1 Repliesis there anyway to bypass the print dialog box while using printJob.Start() method? is there anyway to set desired value for page orientation from the script.
View 0 RepliesI'm trying to make a link from one flash site to another, but not just to the home page of it, but to a specific part of it. For example, I run and am wanting to make the direct links from the websites of the seven artists involved (mostly flash sites) to their specific page on thesite... does that make sense?
View 2 RepliesI have a print button with this code in it:
Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();
[code].......
Is there any way to print the contents of a textfield or string using the pring command in AS?
View 2 RepliesI am trying to create a print button on the last frame that will allow the user to print just that frame. I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper. Here is the code that I have so far:
function printScore(event:MouseEvent):void
{
var printJob:PrintJob = new PrintJob();
[code].....
I want my flex 4 application to print proper picture when I click on print in context menu of Adobe Flash Player.Is it possible?
View 1 Replies