My account
Shopping cart
Knowledge base
Support


Adding URL's for the Accordion menu V3 tutorial



1. You can add Url’s to your Accordion Menu. When an item is clicked the menu will open a web page.

2. First you need to complete the Create a Simple Accordion menu tutorial.

3. Now you need to edit your xml file. You can create your own xml and add any URL you want or you can use the file that I’ve used. (menu_easy.xml)

<?xml version='1.0' encoding='UTF-8'?>
<component name='Accordion Menu v3'>
     <data>
          <main>
               <item title="Home" itemHeight="22" >
                    <item title="Jumpeye " url="http://www.jumpeye.com/" target="_blank" itemHeight="30"/>
                    <item title="Subtitle 2" itemHeight="20" />
                    <item title="Subtitle 3" itemHeight="20" />
               </item>
      ………….      ………….      ………….      ………….      ………….      ………….
    ………….      ………….      ………….      ………….      ………….      ………….
          </main>
     </data>
</component>


Item Title – the title that is displayed on the main title bars or child bars
itemHeight – the height of the item
url - a url address that can be followed if the user clicks on the menu
target – the url target

In order to see the entire list of parameters that can be used in the xml file, please see the xml help page
*the xml file must be in the same folder with the fla file which contains the Accordion Menu

4. After you have modified the xml file save it and hit Ctrl+Enter (in Flash) to test your movie (or Command+Enter on Mac). Before that make sure that your path to the xml file is correctly written in Component Inspector panel inside the xmlPath parameter.

5. On your generated swf file click Home/Jumpeye. Your browser should open with the Jumpeye’s website.