• XML file format - Documentation

The component settings XML file is a usual text file of the following format:


   600
   400

   true
   0
    false 
    50 

    true 
    1 
    2 

    2 
    3 
   01.mp3

    0x1C90CB 
    true 
    true 

    10 
    Progress Bar 
   
      images/photo01.jpg

      images/photo02.jpg
      images/photo03.jpg
      images/photo04.jpg
      images/photo05.jpg

      images/photo06.jpg
   

The embedded XML analyzer of the component is case and odd space insensitive, so be accurate but not afraid of making a mistake. As can be seen, all the file information is contained in the structure

 

This is the core description unit — do not modify it. This unit contains component parameter units the names and values of which are the same as those of the component parameters in the development environment.

The Width and Height parameters allow controlling object size on the stage. The general parameter value format is as follows:

parameter value

The only exception is the set of pages by the unit

 

This unit contains the list of pages in the following form:

page path

The order of pages is determined by the order of page source paths. Remember that the source data can be not only external photo files, but also external SWF files.

Was this article helpful?