First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Michael Abels | Website: http://www.brucekey.nl

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.
» Level Intermediate

Added: 2003-03-21
Rating: 8 Votes: 26
(10 being the highest)
» Author
Flash webdesigner from the Netherlands. Check out his dutch bandsite: http://www.brucekey.nl
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.