cXtra - Xtra for Macromedia Director
  Create an account
•  Home  •  Downloads  •  Your Account  •  Forums  •
 cXtra 
· Home
· Contact
· Downloads
· FAQ
· HowToRegister
· News Archive
· Order
· Polls
· Products
· Support forum
· Your Account
 Products 

· Description of cXtraPrinterDoc
· History of cXtraPrinterDoc
· How to use cXtraPrinterDoc
· Tip: How to translate the document editor
· Tip: The parameters in the DocumentEditor.ini file
Description of cXtraPrinterDoc





The most simplest way to print a complex document with Director !

This xtra allow Director developers to prepare documents in an editor and print these documents in Director. The objective is to simplify the print processing, by placing in document some objects. The properties of these objects could be changed before previewing/printing in Director.

Installation :

You can download the xtra and the demo in the same archive : cxtraprinterdoc.zip available in the download page.
After decompressing the archive, you should copy the cXtraPrinterDoc.x32 file into the Directorxtras folder.
All other files can be placed in a new project folder.


Note for Windows95/98/Me users : if your system is not updated you should patch it with one of these 3 files from Microsoft :

  • RichEdit30.exe (autoinstall on the system with confirmation dialog box and installation from Microsoft)
  • RichEd30.exe (autoinstall on the system without confirmation message but file copy dialog)
  • RichEd.zip (you can place this file at the same place than the .exe of your application. The xtra (or the DocumentEditor) will unzip and install the files if the version is lower than required)

Easy to use :

  1. You create your document in the editor
  2. You save the document in .cxd format
  3. Import the xtra in director which loads the file, write few lines of code or copy/paste from our demo
  4. Take a time for a coffee, you just save time and money !

Features :

  • What You See Is What You Get Editor
  • Full preview in your application
  • Use RTF texts
  • Draw customisable shapes
  • Draw tables to print data from database
  • Insert images in your document
  • Modifications of your document are easy : just click and move your mouse !
  • Alignment tool to organise quickly your objects
  • You can distribute the document editor
  • You can translate all terms of the document editor in your own langage (included: English, French, Italian from http://www.vallemediatime.com)

Objects :


The creation of a document is very simple. Launch the DocumentEditor and place some objects on your document.
These objects could be :
- Label (to draw a simple text)
- RTFText (RTF paragraphs)
- Image
- Line
- Shape (to drawsimple shapes : Rect, RoundRect, circle,..)
- Table (for fast table draw, very useful for databases !)

There are three ways to modify these objects before printing/previewing the document :

The first way is to specify an associated CastMember. For example, if the Object is a label, the text of this label is get from the CastMember text. If the Object is an Image the bitmap is get from the castmember too.

The second way is to specify an Event. Before previewing/printing, the xtra call the corresponding Director event to request the data.

The third way is to use the SetObjectProperty method.
Ex :
- SetObjectProperty("ObjectName", "Property", "Value")
- SetObjectProperty("Label 1", "Text", "This is the new text of the label")

How to publish your application with this xtra ?

If you want to create a projection of your application, you need to purchase the xtra in the order page.
On your master, you include the xtra in the projection or in a xtras subfolder as any other xtra. You can put the .cxd documents you have created in a subfolder of your master (without the editor). When the final user wants to print a document, you should call this file by the xtra. The final user can get a preview on the stage or print directly the document.

Overview :

If you open the file "country listing.cxd" you will get this :

The grid is composed of labels which have a property named Event with value : OnNeedData

When you open the play the demo movie in Director, the method OnNeedData is called :

And you get this result with complete preview :


Whole page


Zoom 100%




Version : 1.8
100 Euros (near $100). (not including the french VAT (19.6%) for European customers only)

Click here to go to the download section.

Click here to order this product.






Copyright © by cXtra - Xtra for Macromedia Director All Right Reserved.

Published on: 2003-08-06 (19 reads)

[ Go Back ]
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002-2007 by www.cXtra.net

Page Generation: 0.385 Seconds

:: skyLineBlue phpbb2 style by Volize Web Solutions :: PHP-Nuke theme by www.nukemods.com ::