﻿<?xml version="1.0" encoding="UTF-8"?>
<component name="Accordion Tree Menu v3">
	<properties>		
		<!-- // You can set the default parameters from Component Inspector, however you can override one ore more parameters from within the <properties> node.
	// Not all parameters have to be set from the XML file. -->
		
				
		<!--  selectedStateMode: single, none, tree -->
		<selectedStateMode>
			
			<!-- you need to specify the type of the data entered as parameter -->
			<type>String</type>
			
			<!-- you need to enter a value for the parameter entered here -->
			<value>single</value>
			
		</selectedStateMode>
		
		<closeFolderOnClick>
			<type>Boolean</type>
			<value>true</value>
		</closeFolderOnClick>
		
		<!-- expandMode: one, all -->
		<expandMode>
			<type>String</type>
			<value>one</value>
		</expandMode>
		
		<!-- navigationMode: press, release, rollover, none -->
		<navigationMode>
			<type>String</type>
			<value>press</value>
		</navigationMode>
		
		<embedFonts>
			<type>Boolean</type>
			<value>false</value>
		</embedFonts>
		
		<collapseSubMenuTree>
			<type>Boolean</type>
			<value>false</value>
		</collapseSubMenuTree>
		
		<indentStepSize>
			<type>Number</type>
			<value>5</value>
		</indentStepSize>
		
		<autoSize>
			<type>Boolean</type>
			<value>true</value>
		</autoSize>
		
		<tweening>
			<type>Boolean</type>
			<value>true</value>
		</tweening>
		
		<!-- tweenType: Regular, Strong, Back, Bounce, Elastic -->
		<tweenType>
			<type>String</type>
			<value>Strong</value>
		</tweenType>
		
		<!-- easeType: easeIn, easeOut, easeInOut, none -->
		<easeType>
			<type>String</type>
			<value>easeOut</value>
		</easeType>
		
		<tweeningDuration>
			<type>Number</type>
			<value>20</value>
		</tweeningDuration>
	</properties>
	
	<!-- Data tag holds the menu structure and functionality -->
	
	<data>
		
		<!-- the <main> tag may contain the childStyle attribute -->
		<main childStyle="level1_style">
			
			<!-- <item> tag may contain the following attributes
			
GENERAL ATTRIBUTES:
title -> the text that will be shown in the menu item
style -> the style of the item
childStyle -> the style that his childs inherits in case they don"t have their own style
icon -> the icon of the menu item = a movieclip linkage id
enabled (AS2) / isEnabled (AS3) -> if the menu item is enabled(true) or disabled(false)

URL METHOD ATTRIBUTES
url -> a url address to be followed when user clicks on the menu
target -> the url target

FUNCTION ATTRIBUTES
function -> the function with brackets and params like in eg.: myFunc(param1,param2)

USER ATTRIBUTES
any other attributes can be inserted here. you will have acces to them from the item itself with dot notation-->
			
			<item title="Home" url="home.html" />
			<item title="About Us" childStyle="level2_style" >
				
				<!-- "function" attribute is used in order to call the custom function named "changeHeaderImage" with the parameter 2 -->
				<item title="Company" function="changeHeaderImage(2)" childStyle="level3_style" >
				
					<!-- "target" attribute is used here to open the page in a new window -->
					<item title="Who we are" url="whoweare.html" target="_blank"/>
					
					<!-- using the "icon" attribute to load icons, the icon must be a movieclip linkage id -->
					<item title="Our vision" url="vision.html" icon="vision_icon_mc" />
					<item title="Careers" url="careers.html" />
				</item>
				
				<!-- no method is used here, the event will be trigered anyways so we can have an event handler on the menu, that reads the title value on(onRollover) -->
				<item title="Clients" />
				
				<!-- using different style for this menu item -->
				<item style="level2_style" title="Testimonials" url="testimonials.html" />
			</item>
			
			<!-- using childStyle to set the style of the item"s childs -->
			<item childStyle="level2_style" title="Flash Components">
				
				<!-- using a user defined attribute called "componentType" -->
				<item title="Flash Menus" childStyle="level3_style" >
					<item title="Accordion Menu V3" componentType="1" url="accordion_menu.html" />
					<item title="Accordion Tree Menu V3" componentType="1" url="accordion_tree_menu.html" />
					<item title="DropDown Menu V3" componentType="1" url="dropdown_menu.html" />
					<item title="DropDown Tree Menu V3" componentType="1" url="dropdown_tree_menu.html" />
				</item>
				<item title="Flash MovieClip Effects" childStyle="level3_style" >
					<item title="MovieClip Transition Effect V3" componentType="2" url="mcte.html" />
					<item title="Square Effect Pro" componentType="2" url="square_effect.html" />
					<item title="Waves Effect Pro" componentType="2" url="waves_effect.html" />
				</item>
				<item title="User Interface" childStyle="level3_style" >
					<item title="Accordion Panel V3" componentType="3" url="accordion_panel.html" />
					<item title="Loader Pro V3" componentType="3" url="loader_pro.html" />
					<item title="XML Slide Show V3" componentType="3" url="xml_slide_show.html" />
					<item title="Color Picker Pro V3" componentType="3" url="color_picker_pro.html" />
				</item>
			</item>
			<!-- using "enable" attribute to enable a menu item -->
			<item title="Services" childStyle="level2_style" >
				<item title="Flash components" url="flash_components.html" />
				<item title="Flash custom development" url="flash_custom.html" />
				<item title="Flash consultancy" url="flash_consultancy.html" />
			</item>
			<item style="level1_style" title="Contact us" url="contact.html" />
		</main>
	</data>
	
	<styles>
		<!-- The style assigned to all level 1 items -->
		<level1_style>
			<folderCollapsedIconId>ATM_default_style1_collapsed_icon</folderCollapsedIconId>
			<folderExpandedIconId>ATM_default_style1_expanded_icon</folderExpandedIconId>
			<spacing>5</spacing>
			<itemNextSpacing>0</itemNextSpacing>
			<textFormat>
				<font>Tahoma</font>
				<size>11</size>
				<color>0xFFFFFF</color>
				<align>left</align>
				<rightMargin>4</rightMargin>
			</textFormat>
			<states>
				<up>
					<mcLinkageId>ATM_default_style1_false_up</mcLinkageId>
				</up>
				<over>
					<mcLinkageId>ATM_default_style1_false_over</mcLinkageId>
						<textFormat>
							<color>0x333333</color>
						</textFormat>
				</over>
				<down>
					<mcLinkageId>ATM_default_style1_false_down</mcLinkageId>
				</down>
				<selected>
					<mcLinkageId>ATM_default_style1_false_selected</mcLinkageId>
				</selected>
				<expanded_up>
					<mcLinkageId>ATM_default_style1_true_up</mcLinkageId>
				</expanded_up>
				<expanded_over>
					<textFormat>
							<color>0x333333</color>
						</textFormat>
					<mcLinkageId>ATM_default_style1_true_over</mcLinkageId>
				</expanded_over>
				<expanded_down>
					<mcLinkageId>ATM_default_style1_true_down</mcLinkageId>
				</expanded_down>
				<expanded_selected>
					<mcLinkageId>ATM_default_style1_true_selected</mcLinkageId>
				</expanded_selected>
				<disabled>
					<textFormat>
						<color>0x666666</color>
					</textFormat>
					<mcLinkageId>ATM_default_style1_false_disabled</mcLinkageId>
				</disabled>
			</states>
		</level1_style>
		
		<!-- The style assigned to all level 2 items -->
		<level2_style>
			<folderCollapsedIconId>ATM_default_style1_collapsed_icon</folderCollapsedIconId>
			<folderExpandedIconId>ATM_default_style1_expanded_icon</folderExpandedIconId>
			<spacing>3</spacing>
			<itemNextSpacing>0</itemNextSpacing>
			<textFormat>
				<font>Tahoma</font>
				<size>11</size>
				<color>0xFFFFFF</color>
			</textFormat>
			<states>
				<up>
					<mcLinkageId>ATM_default_style2_false_up</mcLinkageId>
				</up>
				<over>
					<textFormat>
						<color>0x333333</color>
					</textFormat>
					<mcLinkageId>ATM_default_style2_false_over</mcLinkageId>
				</over>
				<down>
					<mcLinkageId>ATM_default_style2_false_over</mcLinkageId>
				</down>
				<selected>
					<mcLinkageId>ATM_default_style2_false_selected</mcLinkageId>
				</selected>
				<expanded_up>
					<mcLinkageId>ATM_default_style2_true_up</mcLinkageId>
				</expanded_up>
				<expanded_over>
					<textFormat>
							<color>0x333333</color>
						</textFormat>
					<mcLinkageId>ATM_default_style2_true_over</mcLinkageId>
				</expanded_over>
				<expanded_down>
					<mcLinkageId>ATM_default_style2_true_down</mcLinkageId>
				</expanded_down>
				<expanded_selected>
					<mcLinkageId>ATM_default_style2_true_selected</mcLinkageId>
				</expanded_selected>
				<disabled>
					<textFormat>
						<color>0xFDFDFD</color>
					</textFormat>
					<mcLinkageId>ATM_default_style2_false_disabled</mcLinkageId>
				</disabled>
			</states>
		</level2_style>
		
		<!-- The style assigned to all level 3 items -->
		<level3_style>
			<folderCollapsedIconId>ATM_default_style1_collapsed_icon</folderCollapsedIconId>
			<folderExpandedIconId>ATM_default_style1_expanded_icon</folderExpandedIconId>
			<spacing>3</spacing>
			<itemNextSpacing>0</itemNextSpacing>
			<textFormat>
				<font>Tahoma</font>
				<size>11</size>
				<color>0x999999</color>
			</textFormat>
			<states>
				<up>
					<mcLinkageId>ATM_default_style3_false_up</mcLinkageId>
				</up>
				<over>
					<textFormat>
							<color>0x333333</color>
						</textFormat>
					<mcLinkageId>ATM_default_style3_false_over</mcLinkageId>
				</over>
				<down>
					<mcLinkageId>ATM_default_style3_false_over</mcLinkageId>
				</down>
				<selected>
					<mcLinkageId>ATM_default_style3_false_selected</mcLinkageId>
				</selected>
				<expanded_up>
					<mcLinkageId>ATM_default_style3_true_up</mcLinkageId>
				</expanded_up>
				<expanded_over>
					<textFormat>
							<color>0x333333</color>
						</textFormat>
					<mcLinkageId>ATM_default_style3_true_over</mcLinkageId>
				</expanded_over>
				<expanded_down>
					<mcLinkageId>ATM_default_style3_true_down</mcLinkageId>
				</expanded_down>
				<expanded_selected>
					<mcLinkageId>ATM_default_style3_true_selected</mcLinkageId>
				</expanded_selected>
				<disabled>
					<textFormat>
						<color>0x666666</color>
					</textFormat>
					<mcLinkageId>ATM_default_style3_false_disabled</mcLinkageId>
				</disabled>
			</states>
		</level3_style>
		
	</styles>
</component>
