Previous - End User License Agreement (EULA) Section Home - Rosetta Xtra v1.0.7 Overview Next - Handling errors


Installing and using Rosetta xtra

Place a copy of the Rosetta Xtra (rosetta.x32) into your Macromedia Director or Authorware Xtra folder. For more information on this, check Tech note ID 14888 on http://www.macromedia.com/.

For easy access to the help documentation, you can launch the Rosetta's help file from Director's authoring environment. Under the toolbar, click xtras->Rosetta Xtra Help. If the help file, rosetta.chm, is in the same directory as your xtra, it will automatically launch. Otherwise, you will be prompted to locate the help file manually.

All functions in the Rosetta Xtra are object instances. You must create at least one instance of Rosetta Xtra to use any of the available API calls. To create an instance, use the new( ) method. Object instances provide superior memory management capabilities to Director Developers. It also avoids polluting the global namespace and avoids conflicts with other xtras.

If you have registered and obtained a valid key for Rosetta Xtra, You may also call the register( ) function. For example, put the following lines in your script handler:

xtRose = xtra("Rosetta").new( )
xtRose.register("Chieh An Lu","test")

The registration function needs to be called only once. Even if you created new xtra instances, or destroyed existing xtra variable, the registration flag is stored in memory for the duration of the entire movie. Please remember to keep the registration key private. When distributing a movie with a registration key, be sure to protect the Director movie and casts.


Previous - End User License Agreement (EULA) Section Home - Rosetta Xtra v1.0.7 Overview Next - Handling errors