FORUM

Multilevel Sliding Menu

Home / Forum / Components Discussions / Multilevel Sliding Menu

  • Hello,
    How can I load this menu into a flash movie?
    I've tried to load it like this:

    loadMovie("menu.swf",10);

    But it loads with the size of the main movie.

    (sorry my bad english)
    #  /  posted on Dec 03, 2007
  • Older user

    You should do it like this. First open de Actions.as file and put the following line at the begining of the file :
    _lockroot = true;
    Then find the global variables _global.gWidth and _global.gHeight wich represent the width and height of the menu. They currently have the Stage dimensions but you can set them any dimensions. After setting your own dimensions recompile de file (open menu.fla and hit Ctrl Enter). Use the generated swf and
    loadMovie(\"menu.swf\",10);
    and everything should work ok. Please let me know if it works.
    #  /  posted on Dec 04, 2007
  • Hi oxylus!
    It works great, thanks a lot.
    I have another issue:

    The data.xml itÂ’s all written to open links in a _blank page, but how can i gotoAndPlay a specific frame by clicking on a menu item?
    #  /  posted on Dec 08, 2007
  • Seems to work ok, however I am experiencing issues with font size which is almost unreadable. I need to insert this component in a narrow area width:150px by height:300px, and if possible even narrower would be great.
    I am able to change font type, however font size does not seem to make much of a difference.

    #  /  posted on Feb 27, 2008
  • I have noticed after closing and opening the file, trying to publish menu.fla always displays a message saying:
    "Error creating Flash movie. Destination directory does not exist. Change your publish settings"
    After clicking "Ok" on this warning, it displays in the output box "Error opening URL:"file_location.../test/menu.swf.

    Going in the publish settings I noticed it displays the "test" folder. How can I change this?
    #  /  posted on Feb 27, 2008
  • Anonymous

    Hi,

    Bought the special license version of this and are having a few issues we have changed the font and width and got the text to vertically align centered on 1 or 2 line titles. This all seemed to work. What I have now noticed is that some titles are formated over 2 lines but aren't vertically aligned (not all of them just some which I presume due to their number of characters)

    I have tried adjusting the LabelClass.as
    line 9: chrW = Math.floor(tf.textWidth/3);

    changing the 3 fixes the broken but then breaks others.

    Any ideas . Dan:-)
    #  /  posted on Apr 16, 2008
  • Older user

    Hello,

    Unfortunately Adrian who handles the flash business is out of the country and will be back in ~4-5 days, I hope it's okay if he answers your question then. I hope this is not too big of an inconvenience.

    All the best,
    Octavian
    #  /  posted on Apr 16, 2008
  • is it possible to have an actionScript action instead of an URL for each item ?
    Thank you for your answer

    Thierry
    #  /  posted on May 19, 2008
  • I need to modify FONT and dimension of the labels. How can I do this? To modifying the font in the library doesn't produce effect.
    #  /  posted on Jun 06, 2008
  • We are embedding the menu.swf into a main swf for our flash site. When we place the menu.swf into a container on our main swf the menu.swf spans the width of the main swfs stage. How do we change the settings so that the menu.swf stays at 200px by 200px. We tried changing the global settings in the actions.as to:

    _global.gWidth = 200;
    _global.gHeight = 200;

    How do we solve this problem?
    #  /  posted on Jul 10, 2008
  • We recently purchased the slider and would like to edit the XML so that the buttons open up PDFs and other documents/fles instead of linking to a html page. What do we need to change the XML code to so that we may open up files within flash or another application?
    #  /  posted on Jul 21, 2008
  • Older user

    Hello, Unfortunately Adrian who handles the flash business is out of the country and will be back in ~4-5 days, I hope it's okay if he answers your question then. I hope this is not too big of an inconvenience. All the best, Octavian
    #  /  posted on Apr 16, 2008
  • Hello, How can I load this menu into a flash movie? I've tried to load it like this: loadMovie("menu.swf",10); But it loads with the size of the main movie. (sorry my bad english)
    #  /  posted on Dec 03, 2007
  • Hi [b:7831d]oxylus[/b:7831d]! It works great, thanks a lot. I have another issue: The [i:7831d]data.xml[/i:7831d] it’s all written to open links in a _blank page, but how can i gotoAndPlay a specific frame by clicking on a menu item?
    #  /  posted on Dec 08, 2007
  • Hi, Bought the special license version of this and are having a few issues we have changed the font and width and got the text to vertically align centered on 1 or 2 line titles. This all seemed to work. What I have now noticed is that some titles are formated over 2 lines but aren't vertically aligned (not all of them just some which I presume due to their number of characters) I have tried adjusting the LabelClass.as line 9: chrW = Math.floor(tf.textWidth/3); changing the 3 fixes the broken but then breaks others. Any ideas . Dan:-)
    #  /  posted on Apr 16, 2008
  • We are embedding (with: loadMovie(“menu.swf”,inhalt); )
    the menu.swf into a main swf for our flash site. When we place the menu.swf into a container on our main swf the menu.swf spans the width of the main swfs stage.

    How do we change the settings so that the menu.swf stays at 300px by 360px.

    We tried changing the global settings in the actions.as to:

    _global.gWidth = 300;
    _global.gHeight = 360;

    How do we solve this problem?

    We also tried the workouraround with
    _lookroot = true; as descriped on page 2 in the comments here.

    Thank you very much in advance.

    best greets
    kmeo


    #  /  posted on Sep 10, 2008
  • we solved the problem according due the last coment from us. But we have annother question.

    How to disable the “on mouse click function” in the data.xml file because we didn‘t need further links etc. urls.

    Thank you very much

    best regards

    kmeo


    #  /  posted on Sep 11, 2008
  • I was wondering how to change the name of the data.xml file because I already have an XML file with the same name? When I do change it I get an undefined in the player/movie?


    #  /  posted on Mar 18, 2010

Please login to post replies.