• XML file format

To prepare your object for work you need setup configuration xml file. The component settings XML file is a usual text file of the following format:


     200 
      100 
      5 
       true  
       50  
      
       true  
       2  
       5  
       3  
       3  
      
       mp3/sound1.mp3  
       0xB4DBF5  
       true  
       true  
       true 
       
           img/01.jpg  
           swf/my_movie.swf 
           swf/login_form.swf 
           Symbol1 
      

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 component size. 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 library symbols and external SWF files.

Was this article helpful?