ActiveDen

Flex Menu

  • Bought between 500 and 999 items
  • Exclusive Author
  • Has been a member for 5-6 years

Neither the menu buttons or the hide/unhide btton seem to work in the preview.

OLLI
OLLI Author

There was a sound error, that blocked the menu. May be tomorrow a new version will be available (it works correctly) :)

  • Bought between 500 and 999 items
  • Exclusive Author
  • Has been a member for 5-6 years

Two remaining questions. You state unlimited menu items; does this mean that the primary menu (top level) will scroll vertically when items exceed visibility? Secondly, the content on the right side is changeable with each menu click, correct? (Yes, I know, the latter is a ‘duh’ question but I just want to be sure.) If the answer is yes to questions #2, I will purchase. Thanks.

OLLI
OLLI Author

Hello, Thank you for your patience. Answers: 1. If you have a number of items that exceed visibility, the vertical scrollbar will appear automatically (now you can check it by minimizing the window)

2. Each main menu item has its own child menu. when you click on main menu item, which has child, the child will be loaded automatically. I’ve documented his point in instructions. You will see that there is main menu xml and children xml files, main xml contains names of children xml files for corresponding items.

  • Bought between 500 and 999 items
  • Exclusive Author
  • Has been a member for 5-6 years

When I referred to right side, I meant the Latin text that appears in the large area on the right-hand side. Will I be able to change the text on the right-hand side with each click of the menu item on the left-hand side. For example, will your app work like mine here: (Caution: I use all of the real estate.)

http://www.infonomx.com/flex_tree_iframe_Black2/IFrameDemo_Black2.swf

OLLI
OLLI Author

You can add your text while clicking the menu, to do it you have to add your *.txt files with text into the corresponding folder and add code for getting the necessary text to the main menu or submenu items (I left these functions empty, there is only comment inside where you should place your code).

  • Bought between 500 and 999 items
  • Exclusive Author
  • Has been a member for 5-6 years

Thanks, I bought it. I like your work—nice design and functionality.

OLLI
OLLI Author

Thank you! :) Have a nice day ;)

  • Bought between 500 and 999 items
  • Exclusive Author
  • Has been a member for 5-6 years

I suppose you did not get my email so I will repeat the question here.

Why can’t I reference the text area component as follows:

public function doActionMenu(item:String):void { // type here your code for some action theText.htmlText = “hello”; }

The above code engenders the following error:

1120 access of undefined property theText

Thanks, Jim Canady

OLLI
OLLI Author

Hello, I’m really sorry for my silent. I’ve two ways for solving this problem, you can choose that you will like more. I’ve sent it to your e-mail.

OLLI
OLLI Author

Hi, I suppose that you didn’t get my email, here are the solutions:

1. You can load the text from *.txt file: All you have to do: a) make the urlLoad variable public, here is the code: public var urlLoad:URLLoader;

b) add the next code to the function doActionMenu:
parentApplication.urlLoad.load(new URLRequest("assets/"+ item+ ".txt"));

Remember that “item” – it is the name of the menu item and the name of the *.txt file, so it should the the same (ex.: articles.txt for menu item “articles”, or Articles.txt for “Articles”)

It is the best way of solving this problem, because in future you won’t have to change the code, you’ll only change the *.xml files and *.txt

2. It is the poor modification, but you can use it if you want:

add the following code to the function doActionMenu:

parentApplication.theText.htmlText = “ ”;

Unfortunately (choosing the solution 2) you will have then change the code each time you change the article, and you won’t have ability to add a large text.

Regards, OLLI

OLLI
OLLI Author

Now the Item “Menu” is updated!

NO CODE CHANGES NEEDED ! :)

The client should change ONLY XML file and related ARTICLES (*.TXT FILES )


by
by
by
by
by