This product was downloaded from www.tntcenter.com
Description:
----------------
Targa Menu XML is a web menu, it is made to be used as navigation system for your web site.
The menu doesn't require macromedia flash program; it only requires the Flash Player that is installed on over 98% of the computers.
How to use it:
------------------
- Place the swf file in your web page, drag and drop in Dreamweaver or manually write the tags needed to display a swf flash file. This is a simple procedure but if you need more help see this link: http://www.macromedia.com/go/tn_4150
- The only files you need online are menu.swf and menu.xml
-
Edit the XML file with a text editor like notepad form windows.
- Change the values between the quotes to change menu color, text, URL to open and other options.
- You can add / remove XML lines to add or remove buttons and sub buttons in the menu.
Parameters table:
-----------------------
Parameter Name | Comments | Sample values | ||
text | The text that you will see on each button or sub button | Home Products Services Contact |
||
type | This shows what happens when the button is clicked, geturl means the button will open a web page, loadmovie means that the button will load an external swf file, gotoandstop means that the button will make a certain clip go to a certain key frame. | geturl gotoandstop gotoandplay loadmovie fscommand function |
||
what | This is the parameter that will tell the menu what page to open or what key frame to go to, what movie to load, what function name to trigger or what FS command to trigger. | http://www.tntcenter.com 2 external_file.swf my_function fullscreen |
||
where | This parameter will show where the above action will take place, in what frame to open the html page, in what clip to load a swf file, in what clip to go to a key frame, in what clip is the function that needs to be triggered. | _parent |
||
bg_file | This is the path to the background file that you can have in the menu, the background file can ge a jpg or a swf file. We recommend setting the file with full path including host name. | http://www.tntcenter.com/menu_swf.swf |
||
main_buttons_color | This is the color code for the main buttons, for example black is "000000", white is "FFFFFF", yellow is "FFCC00". Remember to enter this value WITHOUT the # in front (usually other applications show the color code as #FFCC00) | 000000 FFFFFF FFCC00 333333 CCCCCC |
||
sub_buttons_color | This is the color code for the sub buttons, for example black is "000000", white is "FFFFFF", yellow is "FFCC00". Remember to enter this value WITHOUT the # in front (usually other applications show the color code as #FFCC00) | 000000 FFFFFF FFCC00 333333 CCCCCC |
||
buttons_alpha | This is the alpha value (transparency) of the menu buttons. Value must be from 0 to 100. 0 = fully transparent, 100 = opaque. |
0 10 50 100 |
||
rollover_color | This is the color that the buttons will have when mouse is over them. For example black is "000000", white is "FFFFFF", yellow is "FFCC00". Remember to enter this value WITHOUT the # in front (usually other applications show the color code as #FFCC00) | 000000 FFFFFF FFCC00 333333 CCCCCC |
||
rollover_alpha | This is the alpha value (transparency) of the rollover color. Value must be from 0 to 100. 0 = fully transparent, 100 = opaque. |
0 10 50 100 |
||
text_color1 | The color code of the default text on the buttons. Remember to enter this value WITHOUT the # in front (usually other applications show the color code as #FFCC00) | 000000 FFFFFF FFCC00 333333 CCCCCC |
||
text_color2 | The color code of the text when mouse is over the button. Remember to enter this value WITHOUT the # in front (usually other applications show the color code as #FFCC00) | 000000 FFFFFF FFCC00 333333 CCCCCC |
||
rollover_delay | The time to wait starting from when mouse is over a button and until the button starts moving up or down showing the sub menus. The value is in milliseconds, 1000 means that the sub menus will show after one second. | 10 100 250 1000 2500 |
||
up_speed | The speed when the menu is moving up, this can be from 1 to around 200. 1 is slowest. |
1 10 33 50 100 |
||
down_speed | The speed when the menu is moving down, this can be from 1 to around 200. 1 is slowest. |
1 10 33 50 100 |
||
top_sound_volume | The sound volume at the moment when menu is expanded to the limit, value can be from 0 to 100. 0 means that sound is muted. |
0 10 34 100 |
||
base_sound_volume | The sound volume at the moment when menu is getting back to it's initial position, value can be from 0 to 100. 0 means that sound is muted. |
0 10 34 100 |
||
button_size | The width in pixels of the main buttons and sub buttons. Usually is from 100 to 200. | 50 120 200 |
||
show_corner | This parameter allows you to enable or disable the blinking corner (triangle) on the main buttons. true means that corner is visible, false means that corner is hidden . |
true false |
||
menu_direction | This sets the menu type, drop down or pop up. If you set this to "up" than the menu will move from base to top, if you set it to "down" than menu will be a 'drop down menu', menus will move from top to base. |
up down |
||
vertical_position | This is the global vertical position of the menu in your flash stage, same with the menu _y position. 0 means that menu is placed in top of stage, increasing it will move menu lower in stage. Depending on menu direction (up or down) you should move menu allowing the sub menus to expand. | 0 |
||
Parameter Name | Comments | Sample values |
If you need more support with the menu visit the general support page www.tntcenter.com
Last update 11-May-2006