Menu Module
The menu module can be used is several ways depending on the structure of the XML file that it is loading.

THE MAIN MENU:

Code:

 <rss version="2.0">     <channel>         <item title="Home">             <link __hide="true">home</link>         </item>         <item title="Store">             <link __hide="true">store</link>         </item>         etc...     </channel> </rss>



The main menu using the Menu module does not use a template system at all but rather jumps to a particular frame specified in the "link" node of the XML file. Note that you may also enter a URL in the link field of the XML file. You just need to prefix the link with http:// instead of the frame label.

Also of interest, the XML editor allows you to disable particular fields in the XML file so I have disabled the "link" node from being edited by the client. This is achieved by placing the attribute __hide="true" in the XML file.

I have set the main menu up this way so that the designer can create a site using the timeline but the editor can rearrange the menu order and label text at any time.

THE TEMPLATE2 EXAMPLE MENU:

Code:

 <rss version="2.0">     <channel>         <item title="Page 1" template="template2b" file_name="page1" />         <item title="Page 2" template="template2a" file_name="page2" />         <item title="Page 3" template="template2b" file_name="page3" />     </channel> </rss>



In this example, the menu module reads this XML file and this time attaches a template from the library and saves all data related to this template to the file_name specified in the XML file.

Make sure that you give the template movie clip a linkage ID in the library such as "template2b".