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 = "gallery.xml"
  backgroundColor = "0xF0F0F0"
  backgroundTransparent = "1"
  localizationPlay = "play"
  localizationStop = "stop"
  localizationOf = "of"
  controlPanelHeight = "29"
  controlPanelPadding = "10"
  controlPanelColor = "0x42145F"
  controlPanelTransparent = "1"
  controlFontFamily = "Eurostile"
  controlFontSize = "10"
  controlFontColor = "0xFFFFFF"
  controlFontHighlight = "0xD5CBDB"
  controlFaceColor = "0x714F87"
  controlFaceHighlight = "0xFFFFFF"
  controlNavigationWidth = "65"
  controlProgressColor = "0x714F87"
  controlProgressHighlight = "0xD5CBDB"
  thumbPanelWidth = "220"
  thumbPanelMargin = "5"
  thumbWidth = "65"
  thumbHeight = "65"
  thumbSpaceWidth = "5"
  thumbBorderThickness = "1"
  thumbBorderColor = "0x808080"
  thumbBorderTransparent = "1"
  thumbHighlight = "0xD80303"
  thumbFontFamily = "Tahoma"
  thumbFontSize = "11"
  thumbFontColor = "0x505050"
  thumbFontHighlight = "0xFFFFFF"
  thumbTextMarginTop = "5"
  thumbTextMarginLeft = "10"
  thumbImageDesaturate = "true"
  loaderSectorColor = "0xF0F0F0"
  loaderProgressColor = "0x707070"
  slideWidth = "435"
  slideHeight = "380"
  slideMargin = "10"
  slideBgColor = "0xD5D5D5"
  slideBgTransparent = "1"
  slideBgShadow = "true"
  slideBorderThickness = "1"
  slideBorderColor = "0x42145F"
  slideBorderTransparent = "0.5"
  slideDuration = "3"
  slideTransition = "Swirl"
  slideTransitionDuration = "1"
  slideAutoStart = "true"
  slideScaleMode = "Crop"
  slideLoadingColor = "0xFFFFFF"
  titleWidth = "200"
  titleMargin = "20"
  titleBgColor = "0xD80303"
  titleBgTransparent = "1"
  titlePaddingTop = "5"
  titlePaddingBottom = "0"
  titleFontFamily = "Myriad Pro"
  titleFontSize = "18"
  titleFontColor = "0xF0F0F0"
  titleVisible = "true"
  descWidth = "300"
  descMargin = "30"
  descBgColor = "0x42145F"
  descBgTransparent = "1"
  descPadding = "10"
  descFontFamily = "Tahoma"
  descFontSize = "11"
  descFontColor = "0xE0E0E0"
  descLinkColor = "0x9482A0"
  descLinkHighlight = "0xF0F0F0"
  descVisible = "true">
</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'.

  • backgroundColor

    The background color of the flash object.

  • backgroundTransparent

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

  • localizationPlay

    Localization of language. Translated 'Play' into another language.

  • localizationStop

    Localization of language. Translated 'Stop' into another language.

  • localizationOf

    Localization of language. Translated 'Of' into another language.

  • controlPanelHeight

    The height of the control panel, in pixels.

  • controlPanelPadding

    The paddings of the controls from the left and right edges.

  • controlPanelColor

    The color of the control panel.

  • controlPanelTransparent

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

  • controlFontFamily

    The font name for text in control panel.

  • controlFontSize

    The size for font in control panel.

  • controlFontColor

    The color for font in control panel.

  • controlFontHighlight

    The highlight color for font in control panel.

  • controlFaceColor

    The color for arrows in control panel.

  • controlFaceHighlight

    The highlight color for arrows in control panel.

  • controlNavigationWidth

    The width of space between arrows in control panel, in pixels.

  • controlProgressColor

    The color of the progress bar icon in control panel.

  • controlProgressHighlight

    The color of the progress bar loading in control panel.

  • thumbPanelWidth

    The width of the thumbnails panel, in pixels.

  • thumbPanelMargin

    The width of the margin between thumbnails panel and the main frame, in pixels.

  • thumbWidth

    The width of the thumbnails, in pixels.

  • thumbHeight

    The height of the thumbnails, in pixels.

  • thumbSpaceWidth

    The width between thumbnails, in pixels.

  • thumbBorderThickness

    An integer that specifies the thickness of the thumbnails border.

  • thumbBorderColor

    The color of the thumbnails border.

  • thumbBorderTransparent

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

  • thumbHighlight

    The highlight color of the thumbnails panel description in the thumbnails list. This is an "on-default" color, which is taken if you didn't specify color for the thumbnail in XML.

  • thumbFontFamily

    The font name for text in thumbnails panel.

  • thumbFontSize

    The size of the font in thumbnails panel.

  • thumbFontColor

    The color of the font in thumbnails panel.

  • thumbFontHighlight

    The highlight color of the font in thumbnails panel.

  • thumbTextMarginTop

    The margin from top edge of the thumbnail panel description and the text, in pixels.

  • thumbTextMarginLeft

    The margin from left edge of the thumbnail panel description and the text, in pixels.

  • thumbImageDesaturate

    A Boolean value that sets desaturation of the thumbnails, acceptable values are (true) or not (false).

  • loaderSectorColor

    The color of the loader sector.

  • loaderProgressColor

    The color of the loader sector progress.

  • slideWidth

    The width of the slide, in pixels.

  • slideHeight

    The height of the slide, in pixels.

  • slideMargin

    The width of the margins of the slide.

  • slideBgColor

    The color of the slides background.

  • slideBgTransparent

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

  • slideBgShadow

    A Boolean value that sets shadow for the slides, acceptable values are (true) or not (false).

  • slideBorderThickness

    An integer that specifies the thickness of the slides border.

  • slideBorderColor

    The color of the slides border.

  • slideBorderTransparent

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

  • slideDuration

    The duration of the slide, in seconds.

  • slideTransition

    The type of the slide transition. Acceptable values are: "Fade", "Swirl", "Light", "FishEye" and "Perlin".

  • slideTransitionDuration

    The duration of the slide transition, in seconds.

  • slideAutoStart

    A Boolean value that sets slides autostart, acceptable values are (true) or not (false).

  • slideScaleMode

    The type of the slides scale mode. Acceptable values are: "None", "Crop" and "Fit".

  • slideLoadingColor

    The color of the slide loading icon.

  • titleWidth

    The width of the title, in pixels.

  • titleMargin

    The margin of the title panel from the left edge of the main frame, in pixels.

  • titleBgColor

    The color of the titles background.

  • titleBgTransparent

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

  • titlePaddingTop

    The padding between the title and the top edge of the title panel, in pixels.

  • titlePaddingBottom

    The padding between the title and the bottom edge of the title panel, in pixels.

  • titleFontFamily

    The font name for text in titles.

  • titleFontSize

    The size for text in titles.

  • titleFontColor

    The color of the text in titles.

  • titleVisible

    A Boolean value that sets whether titles panel are visible, acceptable values are (true) or not (false).

  • descWidth

    The width of the description panel of the slide, in pixels.

  • descMargin

    The margin of the description panel from the left edge of the main frame, in pixels.

  • descBgColor

    The color of the description background.

  • descBgTransparent

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

  • descPadding

    The padding between the title and the edges of the title panel, in pixels.

  • descFontFamily

    The font name for text in description.

  • descFontSize

    The size of the font for text in description.

  • descFontColor

    The color of the font for text in description.

  • descLinkColor

    The color of the hyperlink in description.

  • descLinkHighlight

    The highlight color of the hyperlink in description.

  • descVisible

    A Boolean value that sets whether description panel are visible, acceptable values are (true) or not (false).