ActiveDen

Horizontal XML Menu

  • Has been a member for 2-3 years
  • Contributed a Tutorial to a Tuts+ Site
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • China
  • Referred between 50 and 99 users
activetofocus says

great file!!cool

2 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Sri Lanka
rRomila says

nice one.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ulster says
Purchased

Hi AerisTech!!!

hows it going, I have purchase your awesome file and was wondering if I could ask you a question, it may have a simple answer but please bear with me, I’m still new to Flash and AS3 .

is there any way you could show me how to change the size of the font, I have edited the font itself and changed it from trembucet to century gothic… I went into the library and edited it that way. The font changed but the size stayed the same even after I changed the orginal size to my size. thanks so much for ya’lls help

thanks a bunches

N

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ulster says
Purchased

oh by the way, your documentation is easy to understand…thank you for that and i rated it 5 stars…thanks so much …........

have a super duper day

n

2 years ago
Author
AerisT AerisT replied

ulster – Thanks for purchasing the file… and thanks for your compliments.

The sizes of the fonts are set using ActionScript. The files you will need to modify are the custom AS class files located in the “classes” subfolder.

You can change the font size for the main menu items by opening “MenuItem.as” in Flash and modifying code line 29. You can change the font size for sub menu items by opening “SubMenuItem.as” and modifying code line 27.

Please note that changing font sizes (or styles) may have repercussions on other elements. You may need to open up “MenuHoriz.as” and make some changes to the “y” location of sub menu items (line 121), the height of “bgRect” (line 163) and the “y” locations of the three divider lines (lines 169-174) in order to accommodate your custom font sizes/styles.

Good luck!

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ulster says
Purchased

Hellooooooooooo!

thank you so much getting back to me so quickly, totally appreciate it.

Thanks, I will try your advise. I have another question if I may ask… when I export the movie and try to play it I get an error message that reads…

"cannot open a protected movie"

I can test the edits that I have made but exporting the movie won’t open the swf at all. Then it proceeds to say …..

" Failed to open document"

I may be doing something wrong….being a novice it’s probably something simple that I may have left out. Appreciate all your help and time in advance. :0)

again…documentation is detailed…..sorry about the questions still a newbie …....thanks

n

2 years ago
Author
AerisT AerisT replied

I’m not sure what you mean by “export the movie”. Perhaps you are trying to re-publish the file with your custom font settings. If so, under the File menu in Flash, choose “Publish”.

If you have any additional questions, please e-mail me at the address on my profile page. Thanks.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • United States
studioMio says
Purchased

hello, thanks for the beautiful file! i have a question.. i am trying to link to a external swf, and it works fine, except that it opens up in another window… i have the target as _self.

also, to have it like your example 2, do you have the settings for that?

Please help!

thanks!

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • United States
studioMio says
Purchased

hello, thanks for the beautiful file! i have a question.. i am trying to link to a external swf, and it works fine, except that it opens up in another window… i have the target as _self.

also, to have it like your example 2, do you have the settings for that?

Please help!

thanks!

2 years ago
Author
AerisT AerisT replied

rophillips77 – Send me a link to your site so I can see what you are describing. In the meantime, the settings for the second preview example are as follows:

menuItemSpacing=”15”, subMenuItemSpacing=”15”, menuItemColor=”000000”, subMenuItemColor=”440000”, mainDropShadowColor=”FFFFFF”, subDropShadowColor=”DDDDDD”, topLineVisible=”false”, divLineVisible=”true”, divLineColor=”DDDDDD”, bottomLineVisible=”false”

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • United States
studioMio says
Purchased

thank you for your response! here is the link to my site.. bear in mind that i was just rying to work with the menu.. so there is nothing really there. what is happening, is that when i click on about, then the first submenu, my swf will appear in a completly different window… as you can see the menu disappears.. i have _self as the target on the xml… is it possible to make the xml button go to a frame label? if not, its ok.. at least i want the file to come in in a certain position in my main screen….

thanks for the help. totally appreciate it.

here is the link:

http://www.pixel9studio.com/test

2 years ago
Author
AerisT AerisT replied

It appears to be working correctly. The “_self” target that you specified is intended to completely replace the browser window. If you want to see the horizontal menu on the “linked” page, you need to add it to that SWF (or to the html that the SWF is embedded in).

Try using the other target types (“_parent” or “_top”) if you are working with frames.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 50 and 99 items
  • United States
studioMio says
Purchased

i got it!! I have to change it in the horizontal menu as file.. i am just getting this error 1120… undefined property of your_movieclip… i gave the instance name for it in my main fla.. but still have this error…

any suggestions?

thanks for your time.

2 years ago
Author
AerisT AerisT replied

ActionScript Error #1120 means that an object “property” within Flash is not defined. One common reason for this error is that you haven’t given a MovieClip or Button an instance name when you placed it on the stage in Flash. Another reason may be that a reference is not correct.

If you are making custom modifications, there is not much I can do to help without seeing the modified code.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
ulster says
Purchased

Hey

Was wondering if you could help us.

Whenever we create a submenu off a menu item the parent menu item is no longer clickable, but if we remove the submenu it again becomes clickable.

How can we make the parent menu item clickable whenever a submenu is present?

thanks

2 years ago
Author
AerisT AerisT replied

ulster – This menu design was intended to function in this way. If a main menu item has submenu items, the submenu links replace the main item link.

Because of the way this file’s code is structured, I don’t believe there is a straightforward way to force the main menu links to remain active when there is a submenu. This may require some significant code modifications.

However, I can see why this might be practical in some cases. If I get some extra time, or a lot of requests for this revised functionality, I may consider creating another version of this menu. In the meantime, I hope you can still find a use for it as it was designed.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
cheshirepartners says
Purchased

AERIST , your file ROCKS !!!!!!!!

there is one thing you can help me with to make it absolutely PERFECT !!!!!:

-How can i make the UP state of the links be 100 visible???(currently Alpha .3 or so…)

I would rather have the over state to be alpha 0.5

I couldnt find the .as that makes reference to that…

If you help me with this, I will rate you +1000 stars!

LOVE YOUR FILE ! so simple and easy to use!

Dave

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
cheshirepartners says
Purchased

It is me again, I found it!

10 stars!!!!!!

2 years ago
Author
AerisT AerisT replied

cheshirepartners – Sorry for the delayed response… I was in surgery yesterday. Sounds like you found what you needed. Thanks for your compliments.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
carruthers1 says
Purchased

Great component AerisT!

I’ve managed a crude hack to have the submenus at the same y position as the main menu items but am having trouble placing the x positioning of the submenus dynamically (so they appear to the right of each main menu item). How might I do that?

2 years ago
Author
AerisT AerisT replied

carruthers – In MenuHoriz.as, try changing code line 143 to this… var xLocSub = menuitem.width;

2 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Germany
markimark says
Purchased

Hi, I love your work but now I have a small (or big) problem with the behavior in Firefox 3.5.

All is fine with the menu at start but if you scroll the site it gets some kind of turned off. If you mouseover, nothing happens. You need to click to the menu area to make it work again.

If you scroll again, it will sleep again and so on.

It only happens in Firefox.

Any idea what to do? Thanks for your help.

Cheers Hardy

2 years ago
Author
AerisT AerisT replied

markimark – Can you e-mail me a link to the page where you are having this problem? Please send it to the e-mail addess on my profile page. Thanks.

2 years ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Lebanon
nassimdirany says
Purchased

Hello I did buy your Menu, and it’s Nice. Can you please Help me to add Arabic characters?

2 years ago
Author
AerisT AerisT replied

nassimdirany: Sure. I’ve never done this before, but I’ll look into it. Please send me an e-mail to the e-mail address on my profile page so I know where to send the revised files.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • France
charlyfactory says
Purchased

Hello AerisT thanks pour the menu I have the same probleme as studiomio

my menu is in a swf, when i click to the menu “my swf will appear in a completly different window… and the menu disappears”

where i can change code ? thanks

2 years ago
Author
AerisT AerisT replied

Charly: I just sent you an e-mail containing an example FLA which uses the Horizontal XML Menu in a larger Flash project (working off the frame labels). This should clear things up for you.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • France
charlyfactory says
Purchased

perfect for labels, thanks a lot !!! but for external swf, i see the line to change, but where i wrote “mymovie.swf” ?

2 years ago
Author
AerisT AerisT replied

Charly – I’m not sure I understand what you are asking. If you are trying to set things up so that a menu item links to an external SWF that is loaded into your main SWF , just put that external SWF on a frame of your main timeline and link the menu item to that frame.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
carruthers1 says
Purchased

Hi,

First I would like to congratulate you for the amazing job you made with this horizontal XML Menu! I have one quick request about it: is there a way to get the parent menuItem xml node when clicking on the submenu button (in the onSubClick function)?

Thanks for your help!

2 years ago
Author
AerisT AerisT replied

Sent you an e-mail.

2 years ago
  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
carruthers1 says
Purchased

Many thanks for the quick reply, that’s exactly what I needed! For the ones that would need it, the solution is in the MenuHoriz.as file in the onSubClick() function:

// To obtain main menu item name trace(e.currentTarget.parent.parent.getChildAt(0).text);

// To obtain all submenu item names within a group in order for(var i:int=4; i < e.currentTarget.parent.numChildren; i++) { trace(e.currentTarget.parent.getChildAt(i).getChildAt(0).text); }

2 years ago
  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
Katah says
Purchased

Hello,

Just purchased and was wondering if there was a way to turn off the scrolling of the top menu when you mouse over a menu item with sub-menus? I’m trying to get everything aligned on my site and one of the menu choices has a few options that causes the entire menu to “slide” to the right.

Would be great if there might be a way to just have the sub-menus appear in place under the main menu items without the sliding.

Thanks in advance for any assistance you might be able to provide!

2 months ago
Author
AerisT AerisT replied
Hi Katah. The sliding feature was part of the design of this menu and it cannot be easily turned off. This would require some significant restructuring of the code. I’m sorry you are not wild about it, but it is part of what makes this menu unique compared to many others on ActiveDen. If it simply won’t work with your design, you might try browsing through some of the other menus on ActiveDen. Here are a couple of other choices to consider… http://activeden.net/item/two-levels-menu-06-glow-as2/78569 http://activeden.net/item/two-level-menu-03/21487
1 month ago

by
by
by
by
by