Main page Add to Favorites Contact
Web menus for you

Flash Extensions
  picasso navigation bar
  chameleon flash menu bar
  total extension kit
  total flash menu
  total pic flash menu
  total flash news ext
  total flash button
  total flash mouse
  get cross-domain content
  removing IE activation

Flash menus downloads / Buy flash menu

Flash menus awards
Flash-Extensions terms
Link to Flash-Extensions
Flash-Extensions support
Flash menus FAQ
 

TOTAL FLASH MENU BUILDER TUTORIAL - Flash Component

 

Purchase and Installation

Once you purchase the component, the link to the download file will be sent to you by e-mail. This will be a zip archive with the component files and the documentation. Download this archive to your computer, unzip it and run the TotalMenu.mxp file. This will install* the component on your computer. If you are not currently running the FLASH, close and restart it. The next time the environment is started the component will appear in the components panel and be ready to work.

* To install a mxp file you need macromedia extension manager, it can be downloaded for free from http://www.adobe.com/exchange/em_download/, it usually comes with flash or other macromedia products. After you have downloaded the mxp file open extension manager, select the product in which you want to install the extension (Flash MX, Flash MX 2004, Flash 8) from the drop down menu then click "install new extension", browse to the mxp file and click "install", now just fallow the instructions ("next", "accept"). Now the extension should be installed and displayed in extension manager list, you can click on the installed extension to see details about it.

 

Starting the Work

To start working with the component simply drag its copy onto the Stage and specify menu properties. For high quality motion our menu usually requires high fps values. In our component we used fps = 21

 

TOTAL FLASH MENU BUILDER TUTORIAL - XML driven flash menu (SWF object)

 

Purchase and Installation

Once you purchase the object, the link to the download file will be sent to you by e-mail. This will be a zip archive with the object files and the documentation. Download this archive to your computer and unzip it.

 

Starting the Work

To start working simply paste object HTML into your page and setup xml configuration file. You can place configuration file anywhere on your server.

 

Object HTML code

We recommend you to use the SWFObject. SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file.

You can download SWFObject.js file here: 
DOWNLOAD SWFObject

1. Paste this code into your HTML-page and replace object stage parameter with your values.
2. Download and save the swfobject.js file near with your HTML-page.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
      var flashvars = {};
      flashvars.xmlURL = "path to configuration file";
      var params = {};
      params.quality = "high";
      params.scale = "noscale";
      params.bgcolor = "background color";
      var attributes = {};
      swfobject.embedSWF("swf file path", "myAlternativeContent", "width", "height", "7.0.0", "expressInstall.swf", flashvars, params, attributes);
    </script>
  </head>
  <body>
    <div id="myAlternativeContent">
      <a href="http://www.adobe.com/go/getflashplayer">
        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
      </a>
    </div>
  </body>
</html>


Read more on our FAQ page.

 

Object stage parameter

Width
This parameter controls width of flash object stage on your HTML-page. The width of the object can be different.

Height
This parameter controls height of flash object stage on your HTML-page. The height of the object can be different.

Swf file path
This parameter points to the object swf file. You can store your swf files anywhere on server.

Background color
This parameter controls background color of object stage. So you can adjust its look and fee. The color should be set in RGB in the following format: #NNNNNN, where N is a hexadecimal number (0-F).

Path to the configuration file
This parameter points to the object xml configuration file. You can store your xml files anywhere on server.
But remember this path can be absolute (example: http://www.yourdomain.com/config/menu01.xml) or relative to the directory with your HTML page (example: ../config/menu01.xml).

 

TOTAL FLASH MENU BUILDER TUTORIAL - FLASH Component and XML menu (SWF object)

 

Parameter Description

Menu properties


Menu width
This parameters sets the maximal width of the main and sub menus. If buttons (placed one after another) are wider than the maximal width of the menu, the last button will be moved to the next line. (If you set the maximal width to "0" you will get a vertical menu)

Menu background
This parameter is the path to the menu background file. Its value may be either an external jpeg or swf (+ gif & png, if you work in the Flash 8) file path. If no name is specified, the background will not be used. If the name is incorrect, the background will not be used.

Menu rollover sound
This parameter is the path to the menu buttons rollover sound file. Its value may be either an external mp3 file path. If no name is specified, the rollover sound will not be used. If the name is incorrect, the rollover sound will not be used.


Menu style (Independent color settings for main and sub menus)


Button background color & alpha
This parameter determines the button background color & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button background gradient colors & alpha
This parameter determines the button background gradient colors (topColor and bottomColor) & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button border color & alpha
This parameter determines the button border color & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button emboss light color & alpha
This parameter determines the button emboss light color & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button separator color & alpha
This parameter determines the button separator color & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button rollover bar light color
This parameter determines the button rollover bar light color & alpha. The bar color will be displayed when the user will rollover the cursor on the button. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button rollover bar light gradient colors & alpha
This parameter determines the button rollover bar light gradient colors (topColor and bottomColor) & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).

Button text colors & alpha
This parameter determines the button text colors (textColor, rolloverColor, pressColor) & alpha. The color should be set in RGB in the following format: NNNNNN, where N is a hexadecimal number (0-F), alpha: N, where N is a number (0-100).


Buttons style (Independent color settings for main and sub menus)


Button width
This parameter sets the width of the buttons.

Button height
This parameter sets the height of the buttons.

Button emboss
This parameter determines the emboss state of the buttons. If set to "0", the menu button will be without emboss effect. If set to "1", the menu button will be embossed.

On click button event
This parameter determines the expand type of a submenu. If set to "0", the sub menu will be expand with rollover event. If set to "1", the sub menu will be expand with onclick event.

Identical maximal buttons width
This parameter determines the identical width of a buttons. If set to "0", the buttons width will be different. If set to "1", the buttons width will be identical to the maximal button width.

Button separator
This parameter determines the visibility of a button separator. If set to "0", the separator will be unvisible. If set to "1", the separator will be seen.

Button rounded corners
This parameter determines the radius of the button rounded corners. The radius should be set in the following format: N, where N is a number.

Button text size
This parameter determines the text size of the button. The text size should be set in the following format: N, where N is a number.

Button text indent
This parameter determines the text indent from sides of the button. The text indent should be set in the following format: N, where N is a number.

Button text align
This parameter determines the text align of the buttons. The text align should be set in the following format: "align type", where "align type" is a "left", "center", "right".

Button text font
This parameter determines the button label font.

Button text bold status
This parameter determines the bold status of a button label. If set to "0", the bold status will be disabled. If set to "1", the bold status will be enabled.


Menu buttons


Button text
This parameter determines the button label text.

Button actions
If you want that the button was visible without execute any action then set it's ACTION to "".

"GetUrl" opens url in target window(action - "getUrl", then url - what you open in window, target - target window).

If the object is loaded into other flash document:

"loadMovie" load your file (jpeg, swf + (gif & png) if you work in the Flash 8) in target movie clip (action - "loadMovie", then url - path to file which you want to load, target - target movie clip where you want to load file).
"gotoAndStop" go and stop to frame or label in target movie clip (action - "gotoAndStop", then url - frame to go or label to go, target - target movie clip where you want to execute action).
"gotoAndPlay" go and play to frame or label in target movie clip (action - "gotoAndPlay", then url - frame to go or label to go, target - target movie clip where you want to execute action).
"nameofyourfunction" execute your function in target movie clip and transfer parameter in it (if it is necessary) (action - "nameofyourfunction", then url - parameter which is transferred in your function, target - target movie clip where your function placed).

Button visibility
If you want that the button was unvisible then set disable="1".

 

XML File Format

The object settings XML file is a usual text file of the following format:


<menu>

<properties>

<menu_width>

<main_menu width="615"/>
<sub_menu width="615"/>

</menu_width>

<colors_and_alpha>

<main_menu>
<background Color="FFFFFF" Alpha="100"/>
<background_gradient topColor="FFFFFF" bottomColor="FFFFFF" Alpha="100"/>
<border Color="658185" Alpha="60"/>
<emboss_light Color="658185" Alpha="15"/>
<buttons_separator Color="000000" Alpha="100"/>
<text Color="658185" rolloverColor="F58623" pressColor="000000" Alpha="100"/>
<rollover_bar_light Color="658185" Alpha="40"/>
<rollover_bar_light_gradient topColor="373C49" bottomColor="555C6F" Alpha="0"/>
</main_menu>

<sub_menu>
<background Color="CCCCCC" Alpha="100"/>
<background_gradient topColor="F58623" bottomColor="F58623" Alpha="100"/>
<border Color="F58623" Alpha="100"/>
<emboss_light Color="FFFFFF" Alpha="30"/>
<buttons_separator Color="000000" Alpha="100"/>
<text Color="FFFFFF" rolloverColor="FFFFFF" pressColor="000000" Alpha="100"/>
<rollover_bar_light Color="FFFFFF" Alpha="40"/>
<rollover_bar_light_gradient topColor="373C49" bottomColor="555C6F" Alpha="0"/>
</sub_menu>

</colors_and_alpha>

<buttons_view>

<main_menu>
<buttons_width width=""/>
<buttons_height height="20"/>
<emboss state="1"/>
<on_click_expands_submenu state="0"/>
<identical_max_width state="0"/>
<buttons_separator state="0"/>
<round_corners radius="6"/>
<text_font name="_sans"/>
<text_bold state="0"/>
<text_size size="8"/>
<text_indent width="5"/>
<text_align align="center"/>
</main_menu>

<sub_menu>
<buttons_width width=""/>
<buttons_height height="20"/>
<emboss state="1"/>
<identical_max_width state="1"/>
<buttons_separator state="0"/>
<round_corners radius="6"/>
<text_font name="_sans"/>
<text_bold state="0"/>
<text_size size="8"/>
<text_indent width="12"/>
<text_align align="center"/>
</sub_menu>

</buttons_view>

<your_background>
<bg bg_file_path="menus/menu1/bg.jpg"/>
</your_background>

<buttons_sound>
<rollover_sound mp3source="menus/menu1/sfx.mp3" mp3volume="10"/>
</buttons_sound>

</properties>

<buttons>

<main text="Button actions" url="" target="" action="" disable="0">
<sub text="getUrl action" url="your.html" target="_blank" action="getUrl" disable="0"/>
<sub text="loadMovie" url="tst.swf" target="_parent.test_mc.swfloader" action="loadMovie" disable="0"/>
<sub text="gotoAndStop action" url="30" target="_parent.test_mc" action="gotoAndStop" disable="0"/>
<sub text="gotoAndPlay action" url="playframe" target="_parent.test_mc" action="gotoAndPlay" disable="0"/>
<sub text="myFunction action" url="1000" target="_parent.test_mc" action="myFunction" disable="0"/>
</main>
<main text="Products" url="your.html" target="_blank" action="getUrl" disable="0"/>
<main text="Services" url="your.html" target="_blank" action="getUrl" disable="0"/>
<main text="Contact Us" url="your.html" target="_blank" action="getUrl" disable="0"/>
<main text="Company" url="your.html" target="_blank" action="getUrl" disable="0"/>

</buttons>

</menu>

 
  HOME   SUPPORT   FAQ   SITEMAP   LINK TO US   TERMS
Copyright 2005-2009 Flash-Extensions.net All Rights Reserved

flash menu builder features
flash menu builder tutorial
flash menu builder online demos
flash menu builder XML creator
flash menu builder download