My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

Drop Down (Tree) Menu V3

(views: 26495)

Drop Down Menu V3 and Drop Down Tree Menu V3 are xml flash accordion menus featuring customized states, customized transitions and tweens. Here are all known issues for Drop Down Menu V3 and Drop Down Tree Menu V3, they should be similar, since basically it is the same component. If you have any questions that you think we should discuss here please let us know.



Initiate Drop Down Tree Menu V3 through ActionScript

(2007-07-12 - views: 13970)
Q: I have the new Drop Down Tree Menu component v3. I want to know how to instantiate it through ActionScript.
A: In this case you must have the Drop Down (Tree) Menu component installed. Then, drag the component from Components panel to your Library (not on stage).

This is how you attach the component:

attachMovie("DropDownTreeMenuV3", "componentInstance", 500); //for Drop Down Tree Menu
attachMovie("DropDownTreeV3", "componentInstance", 500); //for Drop Down Menu

Then you have to set its properties:

componentInstance.xmlPath = "menu_easy.xml";
componentInstance.orientation = "horizontal";
componentInstance.easeTypeIn ="easeIn";
componentInstance.easeTypeOut ="easeOut";
componentInstance.embedFonts = false;
componentInstance.navigationMode = "rollover";
componentInstance.tweening = true;
componentInstance.tweeningDurationIn = 10;
componentInstance.tweeningDurationOut = 10;
componentInstance.tweenTypeIn = "Strong";
componentInstance.tweenTypeOut = "Strong";
componentInstance.width=150;

The attached file is implemented with the trial version of the component so this file it will work only inside your Flash IDE.
Files: AttachDDTM_usingAS.zip 


Back