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

Drop Down (Tree) Menu V3

(views: 4582)

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: 2375)

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 


User Comments

Instantiation
posted by troper1952 on 2008-05-24

The component will not drag directly to the library as your answer instructs. In addition, the example in the zip file shows instantiation by dragging to the stage. Which is it?
Instantiation
posted by negush on 2008-05-26

When you instantiate the component by code, you need to have it inside the Library. In order to have the component placed inside the Library, you have to drag it from the Components panel onto the Library.

When you instantiate the component directly on the stage, you just need to drag it from the Library onto the stage. If you drag it from the Components panel onto the stage, the component will automatically be placed in the Library too.


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

Special Offer

Special Offer - All in one Jumpeye Components bundle!

Get the JC Master Collection Now!

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