Notice: Undefined index: comp_id in /var/www/vhosts/afcomponents.com/httpdocs/system/lib/objects/tutorials.inc.php on line 112

Notice: Undefined index: comp_id in /var/www/vhosts/afcomponents.com/httpdocs/system/modules/tutorials.mod.php on line 31

Notice: Undefined index: section_title in /var/www/vhosts/afcomponents.com/httpdocs/system/modules/tutorials.mod.php on line 32

Notice: Undefined index: section_tag in /var/www/vhosts/afcomponents.com/httpdocs/system/modules/tutorials.mod.php on line 32
Advanced Flash Components
Advanced Flash Components
Search!
Search!
Home >  Tutorials >   >  Adding Content:Using XML
Adding Content:Using XML
Updated: Apr 22, 2008   Views: 3229  
Description: This tutorial we will go through the steps needed to add content using XML file.


Complete XML script needed:


<content>
    <video>
        <path><![CDATA[your_video.flv]]></path>
        <title><![CDATA[Title]]></title>
    </video>
</content>


Creating the XML Document

To begin, create your xml file using Dreamweaver or a text editor, saving the file with a .xml extension. With a blank document open, create the content tag to start the document:

<content>


Now for each of the video that you wish to add you will define its flv's path, a title of the item . The following is an example of an video sample. You will repeat this step for each item that you wish to load.

<path><![CDATA[your_video.flv]]></path>
<title><![CDATA[Title]]></title>


When you have repeated the above for all items, close the content tag to finish the document:

</content>
Component Info