| 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:
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:
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". |
|||||