Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Make Button Print PDF...



Ok I have a website where i need to be able to click one button, and print 3 different PDF. Is there a way to do this in AS? Thanks

Mike



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 07-25-2004, 09:41 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Make Button Print PDF...
Ok I have a website where i need to be able to click one button, and print 3 different PDF. Is there a way to do this in AS? Thanks

Mike

Can I Make A Print Button For Flash Movie?
hopefully I'm not beating a dead horse by asking this, but...
Is it possible to create a button that when clicked will print a screen shot to the user's default printer?

How Can I Make A Button Print The Contents Of The Browser?
I was wondering if someone can help me. I have a button inside a movie clip, and I need that button to print an image of a map or print the contents of the page. Does anyone know if this is possible???

I am grateful for any help given.


Flash Akira.

How Do You Make A Button To JUST Print A INPUT Textbox?
i really need help , what i want to know is how do you make when you click on a button its prints a input text box...?
if any one know,help me cause i needto know within a fewdays...
P.S. the testbox is called text .

Print? Make The Button Disappear On The Printed Page
Anybody know a simple trick for keeping the print button from showing up on the printed page.
Tried the obvious things like.....

on release gotoAndPlay "hide" etc. (correctly formatted AS of course).

The solution is probably right in front of me, but I guess it has been a long day.

Certainly haven't see anything close in my searches.

Thank You

Please Suggest Me Code To Make A Print Button On The Flash Movie ,that Can Take A Pri
Please suggest me code to make a print button on the flash movie ,that can take a print of the current frame of the playing swf.

Print Button Shows Up On Print Out
how do you set a print button so that it does no show up in the print out?

How Do You Make Flash Print
Im making this form page for someone and he needs to be able to fill it out and print it, but just pressing file print doesn't work so i need to know how to use commands on a button to make it print, thanks.

How To Make Flash Print?
I am doing off-line flash presentation. I have information about 2 pages [A4 size]. Is it possible to put them in flash and let viewers print a hard copy?

Can you advise good site for off-line flash.

Please help. Thank you

Print Problem, Wish The Would Make This Easer
ok here is the problem, I have a projector that downloads swf's into it from the web, the are loaded on diffrent levels.
the are placed on_x=15.8 and _y=503.9, the projector is set to full screen. the swf's that are comeing in are smaller then the projetor so when I go to print a frame from this it prints a blue border on the top and bottom of the page wich is the color of my background of the projetor. any way to get this to print with out causing a top and bottom border? Please I am looking for a solutioni in flash and not in a third party application.

How To Make Print To External Movie.
Hi,

I have a problem with movie file.

I want to give a print to other one movie file. I m explain you now I need proper.

I have abc.swf file that file has one button like “ Print”. Also have other one swf file that name is xyz.swf.

Xyz.swf file has one form that I want to print. When I click on the print button in the abc.swf file.

So, anybody know what I need to do?

Thanx,
Nilesh

I Need To Make My Swf To Print A Movie Clip
I need help I can`t make swf print
I need my swf to print a specific movieclip whit the instance name of "print" cadrunk: please help me anyone

Print Button
I created a new button.Yeah!!! But - I don't know which action a have to put in to print a specific frame.

Can you help me?
Regard - noguru

Print Button
Flash 4:

How do I create a button that prints the current frame but always in Landscape orientation?

Print Button
I'v got a AS for a print button found on FK:

on(release) {
print("print","bframe");
}


My question is of this AS is any good.. it seemes to me it's a bit simple for such an action.. Can anyone help me?

Print Button?
Well, here I am with another stupid question. I've got a map in a SWF, and it would be very useful if I could add a "Print" button, so people can have a copy on paper of the map. The map isn't shown fully, you "navigate" it by pieces, and what should be printed is only the part that is shown. Can anybody help me with this? Thanks a lot...

Print Button
Code on print button seems to make the whole screen a print button, therefore anywhere clicked on the screen brings up a print prompt box.

Anyone hear of this??

Cheers

Flag

Print Button
I want to add a print button to my movie... however the ActionScript dictionary seems kindof vague when it describes this. Can someone explain to me the syntax of a printing the current frame?? or just show me an example of some sort...


Thanks,
Carlos

Print Button
I wondered if its possible to make a button, that prints a .jpg from the server. If it is possible that what script should be added to the button?

Thanx

Print Button
Hi,

I have made a button and I want to apply a print command to it. The problem is that the button is in a movieclip and the movieclip is loaded into my main scene. When I apply the print action to the button and press print, my printer starts printing each frame of the entire scene?!?! Is it possible to define wich frame has to be printed instaed of all frames?

thnx
stanny

Print Button
Anyone know why when I use the print function in the attached file in player mode it centers it on the page but when it is inserted into an xml based course and then printed ir aligns to the top of the page?

Print Button
I have a flash movie that calls up text from a text file "wishlist.txt", into a scrollable window. I want to make a button in my movie that will print the entire contents of that txt file. The code I'm using only prints what shows in the box.

on (release) {
print(wishlist,"bmax");

}

Print Button
I have a movie that is 14 frames long I have a button on frame
2-12 that has the code in it

on (release) {
gotoAndStop(14)
printAsBitmapNum(all,"bmax");


}

but it wants to print 14 pages instead of just the one frame
and i did change it to printAsBitmapNum(all,"bframe")

what can I do

[F8] How To Add A Print Button?
I have made a "dress up" type game for kids and I want to add a print button so that when they are done making a person and dressing them up they can print out their creation.

What I would like is if it only printed our a certain area of the content, but if it print out the whole thing thats ok as well.

Can any one point me in the right direction? (I have searched high and low and found very little on this)

[f8] Print Button
Yes it is me again...

I have a problem with my script that prints my text in the textbox.
It works but only with the text show, if I put a scrollbar on the textbox it will not print the text not shown

Here is my print script.

my_print = button called that



PHP Code:



// my_print = button called that
my_print.onRelease = function(){
   
   var my_pj:PrintJob = new PrintJob();
   var myResult:Boolean = my_pj.start();
     if(myResult) {
    
         my_pj.addPage("_root.printArea1"); //  name of the felt I want to print    
         my_pj.send();
         }               
         delete my_pj;
}
     }

Print Button
Can anyone guide me how to make a print button in flash 8?

Print Button
I have created a cd presentation & in that presentation there is 1 button labeled as "PRINT" By clicking that button v should get a print of the current visible frames. But i don't know the syntax of giving print command.

Print Button
I've got a button for a website that I intend to use for printing the page. I have no experience in working with flash and peripherals.

Is there a script that can make the user's printer prompt them to print a page that contains only the basic structure of the text, without other elements?
Or
is it done some other way? Please let me know as I have a flash button that I don't know what to do with.

Print Button
Does anyone know how to get a print button to print specific items within my movie? Can anyone supply sample script and where to attach the script to?

Print Button
I wondered if its possible to make a button, that prints a .jpg from the server. If it is possible that what script should be added to the button?

Thanx

Print Button
Hi, I want to make a button in flash mx so that I can print just a picture. I tried using the print function and as far as I can see I can't specify a path. I also tried trough getURL and printing from there but is there an easier way so that I could just click on the print button from flash and have it print out a picture from my folder without going through another program? Thanks for any help.
Marc

Print Button
How can I create a button that will print a jpg file that is on the drive with the movie?

Bob

Button In .swf To Print From Another .swf......
I have two independent .swfs in the same file directory image.swf and button.swf

When a button in button.swf is click I want to print the contents of image.swf (Which will be loaded)

The code I need combines, local connection() and PrintJob().

I need help with the code I have so far as I am not a programmer, please do not laugh if it is simple please supply fixed code:

Sending .swf in this case Print_Button.swf:

// Code in the sending SWF file
var sending_lc:LocalConnection = new LocalConnection();

// When someone hits the arcade button....call a function?
print_mc.onRelease = function() {

// Need to call a function that passes some parameter to the receiving swf ???....this is where I get stuck (Example below is for the text example we need to change)

sending_lc.send("lc_name", "methodToExecute", this.text);
};


Receiving .swf in this case Need2Print.swf:

// Code in the receiving SWF file

// create the local connection in the receiving file
var receiving_lc:LocalConnection = new LocalConnection();

// define the function that is going to be triggered by the other movie (sending file //print_button.swf)
//This part needs to be changed to receive the function from print_button.swf....Again I //have no idea:

receiving_lc.methodToExecute = function(t:String){

// Print Something !!!

var my_pj = new PrintJob();
var myResult = my_pj.start();

if (myResult) { myResult = my_pj.addPage("_root", {xMin:13, xMax:535, yMin:20, yMax:373}, {printAsBitmap:true}, 1);

my_pj.send();
my_pj.orientation == "landscape";
delete my_pj;
}
};

receiving_lc.connect("lc_name");

Print Button
I've got a button for a website that I intend to use for printing the page. I have no experience in working with flash and peripherals.

Is there a script that can make the user's printer prompt them to print a page that contains only the basic structure of the text, without other elements?
Or
is it done some other way? Please let me know as I have a flash button that I don't know what to do with.

Print Button
I wondered if its possible to make a button, that prints a .jpg from the server. If it is possible that what script should be added to the button?

Thanx

Print Button
Is there any way to add a print button to a Flash page?  Meaning the user would be able to print out what they have created on the screen?

Print Button
I wondered if its possible to make a button, that prints an external .jpg. If it is possible that what script should be added to the button?

Thanx

Print Button And Download Button
Hi! I want to know if I can make a print button and a download button in flash (its *.txt), and of course how do I do it (tutorial)
please is relly urgent.
thanks.

How To Print A Word Doc. Using A Button?
I'm working on my portfolio and one of my sections is "Resume." I have a resume that you an scroll up and down to view. I have a button called "Print Resume", I want the button, when clicked, to print a my resume from a Word doc. or a Wps. doc. from the CD. Is it possible?

Please Help!@

Flash Mx Print Button
hi,

i want to make an print button so that vissitors of my website can print out the flash page when they prefer. i only dont know how to do this can somebody help me

greats

Print Button In Pop Up Window
Hi all,

I would like to know what type of action scripting I need for a print button in my pop up window so people can print the content of that window...

Many Thanks,

Wendy "not to familiar with actionscripting"

Creating A Print Button?
Where can I find out how to create a button which prints the contents of the Flash (SWF) screen to the users printer ?

I am thinking of creating a simple room planning facility and want to give the user the option of printing out what they have created on screen.

Any pointers please, or if you know of any good tutorials lets have them.

Cheers
Graham

Button For Print Screen
Can someone tell me how to do a button who does the same thing as if I use the print screen button on the keyboard??

What I mean is that I have a flashmovie where the visitors can change colour on different parts of a car. The combination of colour would be intresting to save and send by email. I dont know any other way than "print screen" to save this kind of information as a picture. with php you could save it as variables and text and thats an alternative.

I am open for ideas how to fix this. But I'am also intrested in if its possible to create a button in the flashmovie that makes the same thing as if you use the button print "screen" on the keyboard.
And if its possible, explain for me.

// erik

Print Text Button?
Hi,

I am creating quite a big site with lots of text that I would like the user to be able to print out. How can I make a Print button
which prints out only the text on each page?

I am using attachMovie to load a text MC from the Library into a blank MC.


-- spiral

Is It Possible To Print A .pdf File From A Button?
Im creating a standalone cd and would like to have a .pdf print, on a button event.

If not possible how would I open the file with acrobat?
Would I want to include any addition software on the disk?

File Name

bidspec.pdf

A Button That Will Print The Page
I need to place a button on the last Frame of My Movie allowing the user to Print was is infront of them I can Creat the Button but have no Clue what to place in the script that will tell it to send the page to a local printer? any help???

Creating A Print Button?
I was hoping someone out there could help me out. I am relatively new to Flash. I am working with flash mx 2004, and am designing some interactive invitations for a wedding. First I was wondering how I can program a button to print. There is some text on a page that has all the invitation details (ie location, time, etc) I would like for the recipient to just press a button within the movie and have it print out on their printer. My second question or problem lies in the final product. When I am finished I would like to have these burned onto cds to be sent out. I would like for the info to be able to be opened in both MAC and PC environments (I am working on a MAC), and if possible would like it to be an auto run on the PC. The way I have it designed right now their are about 8 different pages, each page is its own file and I have linked them using the action script prompt:

on(release) {
loadMovieNum("menu.swf",0);
}

Any help would be greatly appreciated

Thanks

Button In Flash To Print?
Hey umm wots the code to add to the button so when its clicked it will print?

Print Function To A Button
Is there a way to insert a print command to button in Flash MX?
Here is what I am trying to do.
I have a quiz and would like to add the print option to the results page.
Can this be done?
Thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved