This documentation will help you customize AutoViewer-Pro to fit your requirements.
The following folders are in contained in the AutoViewer-Pro download:
There are 4 ways to customize AutoViewer-Pro, by modifying:
Customizing AutoViewer-Pro requires Macromedia Flash 8 (or later) authoring software. A free 30-day trial of Flash 8 can be downloaded here.
AutoViewer-Pro shares the same XML options as found in AutoViewer. View the list of XML Options here.
To customize XML Options:
AutoViewer-Pro ActionScript Options are a set of ActionScript variables that you can edit to customize AutoViewer behaviour. View the list of ActionScript Options here.
To customize ActionScript Options:
To change the visual appearance of some elements in AutoViewer-Pro, edit the Library Symbols in the autoviewer.fla file.
The Library in autoviewer.fla contains the following folders:
To customize Library Symbols:
For customization not covered by the 3 methods above, you can directly edit the source code. AutoViewer-Pro source code is AS2. Edit the class files (.as) using a text editor or Flash. Once you have made your changes, you will need to republish your SWF (See 2.5 Republishing AutoViewer)
AutoViewer classes can be found in this folder: \source\com\airtightinteractive\apps\viewers\autoViewer\
The classes that comprise AutoViewer are as follows:
Republishing AutoViewer creates a new version of the autoviewer.swf file from the source files.
To republish AutoViewer:
Code related to the SWF and XML preloader is contained in the FLA (all other code is in the class files described in 2.4.) The preloader code is placed on the 'actionscript' layer on the main timeline of the the FLA.
When displaying AutoViewer on your site you can use the standard full-page HTML template, or you can embed AutoViewer inside a HTML page or another Flash Movie.
Check the \examples\HTML Embed\ folder for examples of embedding AutoViewer in a HTML document. There are 2 example folders:
Check the example file here: \examples\Flash Embed\multiple_galleries.fla. This example shows how to load multiple galleries inside a container Flash movie.
Note you can use the _global.AVStageWidth and _global.AVStageHeight values to hard-code a fixed width and height for AutoViewer to use.
Also note that AutoViewer sets Stage.align to 'TL' and Stage.scaleMode to 'noScale' in the second frame of the fla. You may need to remove this code if the embedding movie uses a different align or scalemode.
To upgrade existing AutoViewer galleries to AutoViewer-Pro, you just need to replace the autoviewer.swf file in your existing gallery folders with the one that comes in the Pro download (at \web\autoviewer.swf).
To upgrade your Picasa AutoViewer Template installation to Pro:
Lightroom currently exports to AutoViewer v1.3. To use AutoViewer-Pro v1.4 with Lightroom do the following:
On Mac: Users/username/Library/Application Support/Adobe/Lightroom/Web Galleries/TTGAutoViewerGallery.lrwebengine To browse inside the gallery package use ctrl-click and select "Show Package Contents".
On Windows XP: C:\Documents and Settings\username\Application Data\Adobe\Lightroom\Web Galleries\TTGAutoViewerGallery.lrwebengine In Windows XP, the “Application Data” directory is usually hidden. You must enable “show hidden folders” in the folder options before you can browse to it.
On Windows Vista: C:\Users\username\AppData\Roaming\Adobe\Lightroom\Web Galleries\TTGAutoViewerGallery.lrwebengine
To upgrade existing galleries to v1.4, check the FAQ Q7.
Edit the 'Caption' symbol in the FLA (see section 2.3 above). Select the text field. Select a font from the Properties-> Font drop-down menu. To use an embedded font, slect 'Anti-Alias for Animation' from the 'Use device fonts' drop-down. Then select the required character range in the 'Character Embedding' menu. For basic english language, select the 'Basic Latin' character set.