Printing In 2004
i have created a print button but i want it to print in landscape by default...
here is what i have... what am i doing wrong...
code: this.mypj_btn.onRelease = function() { var my_pj = new PrintJob(); var myResult = my_pj.start(); if (myResult) { myResult = my_pj.addPage(0, {xMin:50, xMax:600, yMin:0, yMax:600}); my_pj.orientation("landscape"); my_pj.send; } delete my_pj; };
Thanks, Carlos
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-10-2003, 05:51 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Printing From Flash MX 2004
Flash newbie here! I'm brand new at this Flash stuff so please bear with me.
I'm trying to have an Authorware application print a Flash MX 2004 certificate upon course completion. Authorware sends variables to Flash, which then popuplates variables on the screen. That part works great. The actual printing of this certificate from Flash is the part I'm having trouble with. I need to have the certificate print out on the user's default printer automatically, with no user interaction at all (i.e. no "print" button). The certificate needs to be in landscape mode (if possible) and fill up most of the page.
The Flash movie is a simple single layer, 5 frame 612x792 movie. Frame 5 has #p inserted in the Name field in the Properties panel. I am using this simple script to print this single frame:
printNum(0, "bmovie");
What I end up getting from the printer is a portrait mode printout with the certificate centered about 6" wide and 4" high. If I manually set the print mode to landscape, I get the same size certificate (6"x4") printed in the center of the page at the top.
Can anyone recommend an easy way to print a full page certificate from Flash?
Thanks much!!
Printing Problems With Flash Mx 2004
i am trying to print a movie clip which is inside a scrollpane. the problem is that it is only printing the visible part of the movie clip and not the complete movie clip. how this prom can be overcome
Printing Graphics With Flash MX 2004
Hi,
Is it possible to print good quality graphics with Flash MX 2004? For exemple, would it be possible to have good quality print on a T-Shirt with a graphic made in Flash? What would be the quality of the printing compared to a graphic made in Freehand MX or Illustrator?
Thanks,
Renoir
Printing Problems With Flash Mx 2004
i am trying to print a movie clip which is inside a scrollpane. the problem is that it is only printing the visible part of the movie clip and not the complete movie clip. how this prom can be overcome
Printing Problems With Flash Mx 2004
i am trying to print a movie clip which is inside a scrollpane. the problem is that it is only printing the visible part of the movie clip and not the complete movie clip. how this prom can be overcome
Flash 2004 Printing Questions
Hi guys,
Am using the new PrintJob(),.addPage(),.send() way of printing a large movie (760 x >2000pi). I have essentially worked out the printing except for the following problems:
1. border around input box
Input text boxes within the movie dont print with a border, althought the text boxes have "show border around text" selected and display correctly on screen.
2. print background
Is there an easy way to change the document background colour using actionscript - so I can set the background to white just while it prints? or is the only solution to create a white graphic box within the movie?
3. paging
The virtical size of the movie is large and therefore need to fit on multiple pages. The vertical size is also dynamic. Currently I am using the Xmin:,Xmax:,Ymin:,Ymax to set a page - but this means that some of the content gets unnaturally cut off. Is there a better way to split a movie into pages for printing?
btw: for development purposes I'm only printing to postscript files and viewing them - i dont think this output would be different from the real thing right?
Thanks, I'd appreciate any help, espcially with the first question, cause i cant think of a work around, and I really need to get that to work.
Jubal
Need An Explicit Printing Tutorial For Flash 5 Or An Expert On Printing...
Been trying to print for a couple of hours now.
It seems to work fine when I use simple objet on the main timeline, but I get weird result when trying to print nested object.
For example, it got a movie clip containing multiple duplicate mc, and a dynamic text field. This movie clip is out of the movie stage.
When I try to print it it using:
printAsBitmap(this.effective.printArea, "bMovie");
nothing get printed.
so I move the movie on the stage.
this.effective._x = 0;
this.effective._y = 0;
printAsBitmap(this.effective.printArea, "bMovie");
the frame gets printed, but the text is out of phase even if it looks fine on the screen.
I have define the label of the frame I want to print with #p and the printing area with #b.
Why can I print my movie if it's off the stage, and why does the dynamic text field is printed out of phase when I tried to print ?
----------------------------------
At least can someone direct me to a good flash 5 tutorial on printing...
Martin
martin.tremblay37@sympatico.ca
Flash Printing - Trouble Printing Bitmap
Hello,
I have a Flash MX (not 2004) project that generates dynamic printable coupons. Here's the lowdown of what happens:
1. The flash coupon is loaded - dynamically loads in text and an external jpeg. This data is displayed in one frame that the user sees on the screen, and in another frame that the user never sees but is sent to the printer.
2. User presses print.
3. The flash movie sends the 'print this' frame to the printer, and voila! Printed coupon!
Here's a sample link: http://givingcorps.com/gc_central/br...&CoId=2&ChId=4
All works well, but when it comes time to print the coupon, everything prints but the jpeg. In fact, after you hit the 'print' button and the print dialogue box comes up, and you begin to print, you can actually see the jpeg vanish from the flash movie, only to return when print dialog box is finished!
I've tried a variety of tests - printing just the current frame, incorporating a test to make sure the image is loaded before allowing printing, and trying all the different print functions. I'm aware that print() only prints vector while printAsBitmap() will print everything, although with less quality, and I'm currently using printAsBitmap().
Has anybody run into this? Is there any solution or anything I'm overlooking?
Thanks for your help.
Printing Flash Player 7 Printing
hi,
i want to set up a flash site with multiple levels and have all levels print. is this possible? i've printed before out of flash playere 7 but was only able to print out of one level. any insights would be appreciated.
muchas gracias,
lavadome
Printing In Flash. Problem With Printing Twice...
I have an all vector form that displays data within it. As soon as it opens, it prints. I am running this in the first frame of the root time line.
Code:
print(_level0, "bmax");
stop();
The timeline is 2 frames and I am wanting to print both pages. Everything works fine expect after the print dialog box pops up and you hit print, then it prints the 2 frames, it pops up again and wants to print the pages one more time. I only want it to print once. Any ideas?
Flash MX 2004/2004 Pro - Bring Back The Old Undo - Petition To Macromedia
Many of you will know that the removal of the movie clip specific undo is causing us enless hassles and this isn't one of those features that we just get used to, this is a serious workflow hindrance.
We have been discussing in this in more detail here if you want to read more first http://webforums.macromedia.com/flas...hreadid=709486
I don't want this thread to become another discussion about it as it has already been done, but I do want to get a petition together of emails or names which we can send to macromedia or maybe they will take notice here, so If you feel the same way that I do then reply here.
[I]Free Brainbench Flash MX 2004 / Dreamweaver MX 2004 Exams
Got it from one of the blogs and you should try it... I've got one myself... Not sure what I am going to do with it though...
Free Brainbench Flash MX 2004 / Dreamweaver MX 2004 exams ONLY for TODAY
http://www.gunthersoft.com/brainbenc...tional_special
"... ONLY TODAY, that's February 28th, Brainbench certification tests for MacroMedia Dreamweaver MX 2004 and Flash MX 2004 are sponsored, meaning, these tests which are normally $49.95 each are free for the TODAY ONLY!"
Printing, Why Is Printing Such A Problem?
Why can I not print several specific frames on the main timeline?
I know how to use the #p label and all those other print tutorials...
Does anyone have a solution?Or leads, or something
Printing And Printing Datagrids
Hi - a double question here - can anyone help with information on creating a print button for a page in an swf and also to printout the entire contents of a datagrid?
thanks!
f
Can MX 2004 Pro Files Be Opened And Modified In MX 2004?
Hi,
I've done alot of work with Flash MX 2004 Pro in a class I took. I'm looking into buying the Flash program for my own personal use. I checked out the school store and found that I could buy Flash MX 2004 there at a discount price.
My question is, will Flash MX 2004 allow me to open the .fla files I finished in my class, even though I used Flash MX 2004 Pro to make them? If not, I'll have a lot more saving to do...
Thanks for any feedback.
Vector Printing Of TextField. Part Of TextField Not Printing.
Hi, I hope somebody here can help me.
I have a movieclip with a dynamic textField in it.
I set autoSize = "center" and fill it with text.
Then, if i then use PrintJob.addPage("myPage", {printAsBitmap:false}); , the bottom few lines of the textfield don't print. (The textField shows up fine on the screen.)
The textField shows up fine if I use {printAsBitmap:false}, allbeit in lower quality.
If anyone can make a dynamic textField print properly as vector, please lemme know.
thx,
miguel3d
Compatible MX 2004 And MX 2004 Prof
Hi guys n gals,
Just wondering if anyone knew if there was a descrepency of file formats between MX 2004 and MX 2004 prof edition?
Like when you try and open a flash MX in flash 5, it says unexpected file format.
XFM
Differences MX 2004 And MX 2004 Professional?
differences MX 2004 and MX 2004 Professional???
This has been posted before but I can't find it. I don't this there are any differences other then creating "projects".
In the standard one can you import .as files too? I thinkso.
Flash MX 2004 And Dreamweaver MX 2004
Please help,,, Im doing a flash AD. when you click on the add it disappers... now when i run i through my webpage done by Dreamweaver it dosent disapper or clear... this is the webpage address http://users4.ev1.net/%7Esuzuki9/
this is what i write but it doesnt close or quit...
on(press){
fscommand("quit");
}
anyone has an idea how to do it....
by the way when i run this flash movie by itself as SWF and press on it it works i mean close, but from Dreamweaver it doesnt.....
Active Content Fix For 2004 And 2004 MX
Where can I find the Active Content update for 2004 and 2004 MX? I was directed to an update but since I don't have Version 8 it doesn't work.
Any help would be greatly appreciated.
CCB
MX 2004 Professional Or MX 2004?
I've been working with Flash for a long time now & I'm thinkin about buyin Either FLASH MX 2004 OR FLASH MX 2004 PROFESSIONAL. But I'm not sure which is better... PLease help.
Thanks!
Mx 2004 To Mx 2004 Professional
I have mx 2004 at my job... we were supposed to get professional but our purchasing department bought regular mx 2004...
Can you go from mx 2004 to professional? How do you do it? Whats the cost? Do I have to pay for an upgrade like I was coming from regular mx?
Maybe I am just a dunce... but I cant seem to figure it out...
.FLA Opens In Mx 2004 But Not In MX 2004 Pro?
I'm having a nightmare here!!
i've been working on a site (i'm struggling enough with that alone!) but earlier today i had an error whilst saving and somehow this has resulted in my original .fla being deleted (no back up).......aaargh
i have now managed to recreate the .FLA by using a .fla to .swf decompiler but when i try and open it in MX 2004 Pro i recieve "unexpected file format" and it won't open, however i can open the recovered file in MX2004....so not is all lost, but its not ideal.
Is there anyway i can save it from 2004 so i can open it in 2004 Pro? or is there a fundamental difference between the two file types? ( i find this strange if true since they are both part of the 2004 range? plus surely 2004 pro is backwards compatible to 2004? most software apps are?)
sorry if this has been asked many times before i'm just at my wits end and trying to understand a little better........i'm quite new to flash!
Thanks
James
MX 2004 Professional Or MX 2004?
I've been working with Flash for a long time now & I'm thinkin about buyin Either FLASH MX 2004 OR FLASH MX 2004 PROFESSIONAL. But I'm not sure which is better... PLease help.
Thanks!
Printing From Mac
Hello,
I am having a problem getting the mac projector and flash content on the web to print on a mac. The print dialog box opens fine, but when the printer prints out what is on the screen i get an error that says:
[code]
%%[ Error: undefined; OffendingCommand: rectclip ]%%
%%[ F;isjomg: rest of job (to end-of-File) will be ignored ]%%
[Code]
I know this is a reoccuring thing for the macs - some problem with the post script interpreter not understaning the ps file from flash.
Anyone have a solution to solve this?
Thanks,
Jamey
Printing
Hi.
Have a question - how to make button in flash which will print a simple text from the page... I guess this is very simple bu I have no strenght to think it over. Just relly on your help.
Thanks in advance...
Star
Printing
Hi. It's me again...
Got the question:
How to print a text?
I have white text on dark, gradient background on the right down corner of scene.
I want it to be prnted - black on white from the right top of the page... how to do it???
Thanks in advance...
Printing
I want to print an external file that isn't a .swf file,
can this be done and if so how?
I appreciate any help,
Thanks
Printing
Got dynamic printing to work if any on is intrested, how ever you have to know who many pages your out put is going to be before the movie is compiled.
Printing
I am trying to insert a print function on a button in the movie. However, each time I test it, it seems to crash the computer. Any idea what I am doing wrong? Any help you can be in getting the screen (the entire movie) to print for the user would be appreciated.
Thanks
Printing
Is there any way to only print a specific frame in a movie?
Printing
Does anyone out there know how I would set up a
button that allows the user to print the current
flash frame. Basically I'm setting up a slide show
and I want the use to be able to hit a button and
print the screen when they find an image they like.
Thanks
Printing In IE 6
Does anyone know why when printing an html page containing a flash file from the web browser in IE 6, the print quality is really poor? Does anyone else have this problem?
Printing In IE 6
Does anyone know why when printing an html page containing a flash file from the web browser in IE 6, the print quality is really poor? Does anyone else have this problem?
Printing - Please Help
hi!
I am doing a slideshow in Flash MX - I want to put, lets say 100 pictures on the timeline, each on its own frame.
Then I want to decide which frame to print, and what I know so far is that I am suppose to label the frame I want to print with #p. But I can only label one frame #p, but what about the other 99 frames?
Please help - My deadline is breathing down my neck.
Regards
Rotate
Printing
I'm trying to get a bit of text to print. I've been able to get the entire screen to print, but that's not what I want. All I want to print is the text NOT the background or any other images.
How can I do this?
Thanks
Printing.......
Can anyone point me in the right direction to get a external.swf loaded into a blank.mc on the main stage to PRINT???????
Printing
I have an icon of a printer on my site. I want it to work in such a way that when a user clicks on this printer icon, it will print an HTML document. In the action, I can specify the html address, but all I want the user to see is the windows print options when they click the button. Is this possible?
Thanks,
Jeff Miller
jeffm@gjonas.com
Printing
Hi all
How do I print a movieClip from MX projector on mac?
Thanks
PilotX
Printing
I have a print button on my main movie. I would like to be able to print another movie using this button. How can I achieve this? I tried "loadmovie" to load the second swf into an empty movie clip and then specify empty as the target for the print command. But doesnot seem to work. Any suggestions?
Thanks
Printing From MX
Hi,
Is there an easy way to get page numbers to print with the print actionscript command?
I am using #p labels and would like a number on each page. If I can't do it with that command can anyone think of an easy way using actionscript that would get numbers in the correct order on each frame that is labelled with a #p?
thanks
Robin
Printing From CD
I am in the process of creating a CD that has a print button. I have got the print button working BUT when I do a print out the size is wrong. It prints about 1/2 the size it should be. What am I doing wrong?
Printing
i am trying to print a movie clip that contains text, that is too long and i would like to print it into two pages, instead of in just one, because the fonts gets too small.
does anyone knows how?
thanxs all
Printing... THis Possible?
Hi guys..
Im faced with a task to create a CD ROM proposal, and by the end, give out an option to PRINT the CONFORME LETTER.
I know the basic printing in flash which prints a frame in the movie, but the big problem is, the CONFORME LETTER is MS WORD format. IT's composed of 5 pages with heavy formating (paragraph, intdents, etc)... Cutting and pasting this into flash text area messes up everything! Not to mention printing multiple pages in flash is a big question...
ANy brilliant ideas out there how I can accomplish this?
"PRINT MULTIPLE PAGES, and PRESERVE DOCUMENT FORMATING"
I was thinking.. is there a way I can just include the *.DOC file in the CD and have flash print it out?
Please help
|