Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Tips_And_Techniques

Categories Printing long textfiles
Author: Michael Abels | Website: http://www.brucekey.nl |

 
Page 3
«prev 1 2 3 4 5 next»

Part Two - Creating a movieclip for the print-pages


I made a movieclip with a big white square that represent a page from the printer, size A4. In pixels this is 590 x 845. To print all the text from my textfile I needed three different pages. This is something you have to test and calculate for every new textfile in your project.

So if I want to print three pages, the movieclip needs three frames. Make a new dynamic textfield in the movieclip on the first frame and make sure that it will fit within your white background, beware of printer-margins! On every frame I copied this textfield again, but the name of Var in the Properties Windows changes every new frame. Frame one; Var of the textfield is printText1, frame two it's printText2 and frame three it's printText3. You get the idea if you need more frames!

Now to decide how much text from your file will fit on one single page (frame) you have to do some testing, but once you know, duplicate your original textfile and add the new variables at the points in the text where every new page should start.

Like this: printText1=An attorney may be professionally disciplined for a single act of incompetence or for... (etc.)
&&printText2=For examples where the criminal defendant...(etc.)
&&printText3=However, nothing in the rules explicitly prohibits a fact... (etc.)

I placed the Movieclip on the stage in the first frame, and give it this Instance Name: printMC. It's obvious that your movieclip should be outside of the visible stage, so no-one can see the movieclip when you publish the movie.

«prev 1 2 3 4 5 next»

» Level Intermediate

Added: : 2003-03-21
Rating: 8.31 Votes: 26
Hits: 1289
» Author
Flash webdesigner from the Netherlands. Check out his dutch bandsite: http://www.brucekey.nl
» Download
Download the files used in this tutorial.
Download (20 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments