Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Since last week I'm reading article

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Since last week I'm reading articles/help on creating drop-down menus. In most of the cases they suggest creating instances of the button ( by dragging the instance of the button) and adding text to each button. This works fine. But what happens if need to add additional menus or modify text ? Today I was reading some book on Flash Action Scripting and noticed that we can build the menus using objects. Where each menu and submenu will be an object.
For example if we have 4 top level menus we can define an array of length 4.

mainmenu[0]= "Home"
mainmenu[1]= "About Us"
mainmenu[2]= "Contact Us"
mainmenu[3]= "Products"

If we want to change the caption "Home" to "Our Home" just change the value of mainmenu[0]. Since I'm new to Flash I couldn't understand the full procedure. If anybody has knowledge of this type of menu building I really appreciate some guidance.

Thanks
Dilip
 
what do you need to know Dilip? davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top