Customization flash templates for slideshow
The generated slideshow can be either published on a web-site, used in standalone players or in another flash movie.
The example of an action script in the root custom movie:
var mc:MovieClip = _root.createEmptyMovieClip("mc", _root.getNextHighestDepth()); mc.loadMovie("test-slideshow.swf");
In the root slideshow, there are methods to manage it. So, if the slideshow was loaded by the above method, its management can look like this:
mc.start(); mc.moveToProgress(0.5);
Available methods:
function pause():Void;
pause playing;
function start():Void;
start/continue playing;
function paused():Boolean;
true if the slideshow is not played;
function moveToProgress(value:Number):Void;
value - from 0 to 1 - to set the playing progress;
function moveToTime(value:Number):Void;
value - in millisec - to jump to the set time position;
function getPosition():Number;
returns the current posiotion of playing (in millisec);
function getDuration():Number;
returns the slideshow duration (in millisec);
Controller (navigation bar) template

There are some requirements for controller development.
1. In _root movie there must be movieClip with an instance name "CONTROLLER".
2. The variables defining colors and view of the controller will be added to this clip:
| Value | Description |
|---|---|
| alpha | Number. The controller transparency. |
| mode | Number. The showing method. The follow values can be used: 0 - is not shown; 1 - is shown always; 2 - is shown when the mouse is over. |
| color1 | Number. Color. |
| color2 | Number. Color. |
| facecolor | Number. Color of the button text. |
| showtimer | Number. The timer showing. The follow values can be used: 0 - do not show; 1 - show in sec; 2 - show in millisec. |
| fullScreenMode | Number.Sets Flash Player to full-screen mode. The follow values can be used: 1 - full-screen, 0 - normal mode. |
| screenModeSwitcher | Number.Indicates should the Switcher be shown. The follow values can be used: 1 - show, 0 - do not show. |
| showmute | Number. Indicates should the mute be shown. The follow values can be used: 1 - show, 0 - do not show. |
| showvolume | Number. Indicates should the volume be shown. The follow values can be used: 1 - show, 0 - do not show. |
Preloader template
There are some requirements for controller development.
1. The movie must contain only one frame and have the action script stop() in this frame;
2. In frame - there must be only one movieClip with an instance name "PRELOADER";
3. The example of Action script for movieClip:
onClipEvent(enterFrame){ if(_root.getBytesLoaded()>=_root.getBytesTotal()){ _root.gotoAndStop(2); } else { //loading progress showing } }
4. Color variable will be added to the timeline of movieClip PRELOADER: number defining the preloader color.