|
|
| FlashStore rating: |
|
| User rating: |
Not rated yet.
|
| Date: |
15-08-06 |
| Submited by: |
jumpeye |
| Skill: |
intermediate |
|
|
|
|
|
About |
Build by Jumpeye Creative Media Inc., Drop Down Menu Pro v1 is a professional component that can be used along with your flash movies. Drop Down Menu Pro is special designed for FLASH 8 and Flash MX 2004. From the properties panel you can customize up to 14 parameters, such as size, colors, title font, font size, tweening speed, rollover color, etc. Resize Menu Component on stage to set the size. The height will be consider for item height, the width will be taken for menu bar length; if there are to many items for the length, 2 arrow-buttons will appear at the ends of the bar to help you navigate horizontally. The tool's skin is very modern and looks good within every web site.
The Menu's content source file is an XML. ( a basic XML content can be found here http://store.jumpeye.com/dropmenu/dropmenuContentDemo.xml ) The title attribute holds the name of the menu and submenu items. The functionName attribute holds the function name that has to be called on releasing the mouse over the specified item, you can specify parameters for the function exactly as you would call a function in actionscript (eg. function(param1,param,param3) ) There are 4 events broadcasted: onOpenMenu (with number-param: menu_number), onCloseMenu, onReleaseMenu and onReleaseSubMenu (with number-params: menu_number, submenu_number). Use a listener object attached to the drop down menu in order to retreive these events.
» Features
1. Load external XML configuration file.
2. 2 level drop down menu
3. Define an infinite number of menus and submenus from XML
4. Choose tweening speed.
5. Choose color(s) for the menu bars. (flat or gradient) Choose separate colors for submenus (rollover too)
6. Choose the font for the title (menu and submenu).
7. Choose the font size and style for the title bars (menu and submenu).
8. Choose menu spacing.
9. Choose border line color.
10. Catch onOpenMenu , onCloseMenu, onReleaseMenu and onReleaseSubMenu events.
|
UI Access |
| Components/UIProComponents - Jumpeye |
Support address |
|
|
Useful links |
|
Code samples |
From the properties panel you can customize up to 13 parameters, such as size, colors, title font, font size, tweening speed, rollover color, etc.
Resize Menu Component on stage to set the size. The height will be consider for item height, the width will be taken for menu bar length; if there are to many items for the length, 2 arrow-buttons will appear at the ends of the bar to help you navigate horizontally.
The title attribute holds the name of the menu and submenu items. The functionName attribute holds the function name that has to be called on releasing the mouse over the specified item, you can specify parameters for the function exactly as you would call a function in actionscript (eg. function(param1,param,param3) )
There are 4 events broadcasted: onOpenMenu (with number-param: menu_number), onCloseMenu, onReleaseMenu and onReleaseSubMenu (with number-params: menu_number, submenu_number). Use a listener object attached to the drop down menu in order to retreive these events.
If you feel that this component does not meet the features described as you need it to, let us know. We'll try to improve the behaviors and functionality for the Version 2.0 Any usage method other than the one described before is purely speculative, and does not meet our recommendation of the use of product.
» Code Samples
Here is an example of how to use the listener:
Code Example:
listener = new Object();
amenu.addListener(listener);
listener.onOpenMenu = function(menuNo) {
trace(menuNo+"menu opened")
}
listener.onCloseMenu = function(menuNo) {
trace(menuNo+"menu closed")
}
listener.onReleaseMenu = function(menuNo) {
trace(menuNo+" menu clicked")
}
listener.onReleaseSubMenu = function(menuNo, submenuNo) {
trace(menuNo+submenuNo+" menu clicked")
}
Here is how you need to customize the function calling method from the XML file
From the XML file you can customize the names of the functions to be called on the _parent of your component in the flash movie. You can write whatever code you want in those functions... so you can put the code to call frames, or actions on other movieclips, or why not to refresh pages, just put all this code inside the functions that will be called from the menu.
example:
in the XML file
.. submenu title="submenu" functionName="func(param)" ..
in the flash file
function func(param){
// do stuff
}
|
|
|