Specification of the configuration file

PREV
NEXT

The following example shows the basic structure of configuration XML file:

<?xml version = "1.0" encoding = "utf-8"> 
<config
  xmlSource = "slides.xml"
  fontsXMLSource = "fonts.xml"
  fontsEmbeded = "true"
  soundFile = "sound.mp3"
  soundRepeat = "true"
  foregroundFile = "foreground.png"
  foregroundMarginLeft = "440"
  foregroundMarginTop = "0"
  controlsBarColor = "0x000000"
  controlsBarTransparent = "0.75"
  controlsColor = "0xFFFFFF"
  controlsHighlight = "0xFF7700"
  controlsVisible = "RollOver"
  localizationPlay = "PLAY"
  localizationPause = "PAUSE"
  localizationRestart = "RESTART"
  localizationSoundOn = "SOUND ON"
  localizationSoundOff = "SOUND OFF"
  slideWidth = "600"
  slideHeight = "300"
  slideBgColor = "0xFFFFFF"
  slideBgTransparent = "1"
  slideBorderThickness = "1"
  slideBorderColor = "0x000000"
  slideBorderTransparent = "1"
  slideLoop = "0"
  slideDuration = "3"
  slideTransition	= "MaskRotate"
  slideTransitionDuration = "1"
  slideStartRandom = "false"
  titleTransition	= "Move"
  titleTransitionDuration = "1"
  titleTransitionDelay = "2">
</config>

Attributes

  • xmlSource

    The absolute or relative URL of the XML file with the structure of the contents of the component. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://. Read more information about XML content file in the topic 'Working with XML content'.

  • fontsXMLSource

    The absolute or relative URL of the XML file with embedded font. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://.

  • fontsEmbeded

    A Boolean value that indicates whether the fonts embedded is used.

  • soundFile

    The absolute or relative URL of the sound file. Supported file formats: mp3. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://.

  • soundRepeat

    A Boolean value that indicates whether the sound file repeats.

  • foregroundFile

    The absolute or relative URL of the foreground file. Supported file formats: SWF, JPG, PNG, GIF. A relative path must be relative to the HTML file. Absolute URLs must include the protocol reference, such as http://.

  • foregroundMarginLeft

    The left margin of the foreground image, in pixels.

  • foregroundMarginTop

    The top margin of the foreground image, in pixels.

  • controlsBarColor

    The color of the controls bar.

  • controlsBarTransparent

    Indicates the alpha transparency value of the controls bar. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • controlsColor

    The color of the controls.

  • controlsHighlight

    The color of the controls highlight.

  • controlsVisible

    A String value that indicates whether the controls are visible. Acceptable values are "None", "RollOver", "Always".

  • localizationPlay

    Translated 'PLAY' into another language.

  • localizationPause

    Translated 'PAUSE' into another language.

  • localizationRestart

    Translated 'RESTART' into another language.

  • localizationSoundOn

    Translated 'SOUND ON' into another language.

  • localizationSoundOff

    Translated 'SOUND OFF' into another language.

  • slideWidth

    The width of the slides, in pixels.

  • slideHeight

    The height of the slides, in pixels.

  • slideBgColor

    The background color of the slides.

  • slideBgTransparent

    Indicates the alpha transparency value of the background of the slide. Valid values are 0 (fully transparent) to 1 (fully opaque).

  • slideBorderThickness

    An integer that specifies the thickness of a slide border.

  • slideBorderColor

    The color of the border of the slides.

  • slideBorderTransparent

    Indicates the alpha transparency value of the border of the slides. Valid values are 0 (fully transparent) to 100 (fully opaque).

  • slideLoop

    The number of slides cycles in loop. A zero value causes the slides to loop endlessly.

  • slideDuration

    A number that indicates the length of time between transitions slides, in seconds.

  • slideTransition

    The type of slides transition . Acceptable values are "Fade", "Scale", "Blur", "MaskRotate", "MaskWave", "MaskBlind".

  • slideTransitionDuration

    An integer that indicates the duration of the transitions slides, in seconds.

  • slideStartRandom

    A Boolean value that starts the slideshow with a random slide, acceptable values are (true) or not (false).

  • titleTransition

    The type of transition titles. Acceptable values are "Drop" or "Move".

  • titleTransitionDuration

    An integer that indicates the duration of the transitions titles, in seconds.

  • titleTransitionDelay

    An integer that indicates the delay of the transitions titles, in seconds.