Animate anything within Flash


Comments


home » flash components » flash menus » drop down tree menu v3 » comments »

loadMovie
posted by ascender on 04-07-07

I know how to load/unload a movie, but I don\'t know how to isolate the event listener to a single menu item. Please help. Thanks. Gary Jaffe
use a switch command inside the listener
posted by jumpeyecomponents on 04-07-07

Gary, you can insert your own parameter inside the XML file on each item. I·ve placed on the Home item an extra parameter inside the XML file like below:

<60 item title="Home" my_param="0" >

Inside my fla file, I have the onRelease listener and inside the onRelease listener I have a switch command which verify if the released item have the my_param set to 0. If yes, I display a message. You can place your actions there. Below is the onRelease listener as I have it in my fla file (on the first frame of my Actions layer):

myEventListener = new Object();
myEventListener.onRelease = function(args) {
switch(args.item.my_param){
case "0" :
trace("Home item pressed. My custom param is " + args.item.my_param);
break;
}
};
dropDownTreeMenu.addEventListener("onRelease", myEventListener);
//dropDownTreeMenu is the instance name of my Drop Down Tree menu component on stage. You should replace it with the instance name of your menu.

If you encounter any problems, please write me an e-mail at support[at]jumpeyecomponents[dot]com and send me your files.

Good luck :)
Open UP?
posted by cabinone on 26-09-07

I need this menu to open up. I've got a new site to do that has 5 squares at the bottom that each need to pop up 2 or 3 options that will load to a common content area. How would you do this?

Awesome components - they are helping me!!

By the way, I'm working on a site that has made some excellent use of use of MCTE v3; Loader Pro; Thumbslider. http://www.cabinone.com/dev/hilltop/cortland

Thank you

Jeff Butler


opening direction
posted by jumpeyecomponents on 27-09-07

Hi Jeff, if the Drop Down Menu V3 doesn't have enough space on stage to drop down it will automatically open "UP". There is no other parameter to set the opening direction but if you want, we can customize this menu for you. We can add an extra parameter inside the Component Inspector which will set the opening direction. If you're interested in this custom solution, please write an e-mail to our support address (use the support form).
Nice job on the cabinone.com...thanks for sharing. We have on our blog a special designed page for testimonials and showcase so if you want you can use that page too.
Thanks for using our components.
Menu items outside stage.
posted by colombiano on 19-12-07

Hola,

Question: Is there some actionscript to maintain menu items within the stage when they open? In other words if title name is to long to show within stage then open child from the left side so that the items won't leave the stage. I looked in the properties, methods etc. but could not find anything...

Greetz
about sub menu positions
posted by corsaN on 09-01-08

i would like to it opens sub-menu horizantaly... can we do that?
changing skins
posted by corsaN on 05-03-08

how do i change their skins?
changing the skin
posted by jumpeyecomponents on 05-03-08

You can find tutorials about how to apply and customize themes inside the "How to use" tab right under the main flash demo movie.
Script Goto Frame Number
posted by rufus on 03-07-08

Hi.. can we use script goto frame (gotoAndStop) in Dropdown tree menu component?..
i want the menu>submenu and menu>submenu>submenu can link go to frame number when i click the button.
i try to insert event listener like the tutorial.. but that doesn't work at all.
your tutorial :
myEventListener = new Object();
myEventListener.onRelease= function(args){
trace(“onRelease event on item: ” + args.item);
}
componentInstance.addEventListener("onRelease",myEventListener);

My works :

var eva:Object = new Object();

eva.onRelease = function(eo:Object){
_root.gotoAndStop(eo.goframe);

}

Dropdown3menu.addEventevatener("onRelease", eva);
Dropdown3menu.clickItem(goframe);
______________________________________________

i've already changed th xml, like this :
















.....
.....

but it doesn't work either
can you show me how to make it works.. sent me fla, it would be so pleasure.
menu items change, width must be same
posted by tickletik on 24-08-08

Hi, I'm doing a site with multiple languages. And regardless of the main headers, the total menu width has to be the same (1000px).

Also, the client can change the titles he uses whenever he likes.

I could use the fixed width to solve this, but it's ugly, and I'd rather have it resize. Is there a way I can test for the total width after it's drawn and then resize the spacing if it's too short or too long? I tried testing for my_menu_instance.width, but that gives me the same value regardless of it's actual length (if it's been set to 100 in the ide, then even if it's 2000, it reads as 100).

What do you suggest? Thanks.
write to our support department
posted by jumpeyecomponents on 28-08-08

@tickletik - please write to our support department for technical questions. They will help you.

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign