FORUM

Dynamic Navigation Menu

Home / Forum / General Discussions / Dynamic Navigation Menu

Started 1 year ago by ec1ipse

Last reply by ec1ipse

Recent posts in this topic

  • Using the Tutorial found here:
    http://www.flashcomponents.net/tutorials/flash_dynamic_navigation_menu_tutorial.html

    I created a horizontal button menu, with some additional script to dynamically call the button from an external SWF Library. This worked great!!

    The one issue I am having is how to make the array flow to a second line after 4 buttons (if that many links exist in the XML file) to result in a 4×2 grid:

    [ Button-1 ] [ Button-2 ] [ Button-3 ] [ Button-4 ]

    [ Button-5 ] [ Button-6 ] [ Button-7 ] [ Button-8 ]

    Here is my actionscript based on the tutorial:

    http://pastie.org/839054

    I have researched all over the web (column/rows, grids… etc.), but because of the unique code in this tutorial, I can‘t quite figure out how to make it limit at 4 horizontally and start a new line.

    Any help is very appreciated!!


    #  /  posted on Feb 23, 2010

Please login to post replies.