Topic: full parametric autoviewer

working on the AutoViewer source, i can do this:

fo.addVariable("XMLPath", "pathname/gallery.php?gall=1");
fo.addVariable("imageFolderPath", "pathname/images/folder1/");
fo.addVariable("controlsHPadding", "0");
fo.addVariable("fadeBrightness", "-100");
fo.write("flashcontent");

Its possible for the full list of options.
I'm not a professional flash developer.
But it works properly.

You can simply made a new class with a pubblic static function


import com.airtightinteractive.apps.viewers.autoViewer.Options;
class com.airtightinteractive.apps.viewers.autoViewer.Getter {
    new Boolean()
    
    public static function GetOptions(){
    
    //autoplay options
    if (_root.playAtStart != undefined) Options.playAtStart = _root.playAtStart;
    if (_root.loopAutoplay != undefined) Options.loopAutoplay = _root.loopAutoplay;
.......


XMLManager includes the class...

import com.airtightinteractive.apps.viewers.autoViewer.Getter;

...calling the GetOptions() function

    public function loadXML():Void{
        Getter.GetOptions();
        xmlResults.load(Options.XMLPath);                
    }