3 Replies Latest reply on Dec 4, 2008 7:38 AM by rtalton

    Menubar not showing the whole menu

    SWiiT Level 1
      Hi.
      I have a problem with Menubar.
      I use Flex SDK 3.0.0

      The problem is when a child node has childs the child node will be removed.

      My XML look like this. *edit*

      <menuItem label="A">
      <menuItem label="A1">
      <menuItem label="A11">
      <menuItem label="A111"/>
      <menuItem label="A112"/>
      </menuItem>
      </menuItem>
      </menuItem>

      And the result will be A-->A1-->A111
      How can i do so i can see the correct result A-->A1-->A11-->A111

      When i do like this its work.

      <menuItem label="A">
      <menuItem label="A1">
      <menuItem label="A11">
      <menuItem label="A111"/>
      <menuItem label="A112"/>
      </menuItem>
      <menuItem label="A12"/>
      </menuItem>
      </menuItem>

      How can i do?
        • 1. Re: Menubar not showing the whole menu
          rtalton Level 4
          I'm stumped. I tried various things and got the same results as you.
          I also tried examples in the help docs; none of them had an example of children being nested more than two deep. Nesting three deep (A, A1, A11), "A11" disappears on me.

          btw, your example xml has the tag <menuItem label="A111"/> twice. This is an error.

          I used the following xml:
          <menuitems>
          <menuitem label="A">
          <menuitem label="A1">
          <menuitem label="A11">
          <menuitem label="A111">
          </menuitem>
          </menuitem>
          </menuitem>
          </menuitem>
          </menuitems>
          • 2. Re: Menubar not showing the whole menu
            SWiiT Level 1
            I was in a hurry when i wrote the post. now i have edit it so i looks right.
            But the problem is there anyway.


            quote:

            Originally posted by: rtalton
            I'm stumped. I tried various things and got the same results as you.
            I also tried examples in the help docs; none of them had an example of children being nested more than two deep. Nesting three deep (A, A1, A11), "A11" disappears on me.

            btw, your example xml has the tag <menuItem label="A111"/> twice. This is an error.

            I used the following xml:
            <menuitems>
            <menuitem label="A">
            <menuitem label="A1">
            <menuitem label="A11">
            <menuitem label="A111">
            </menuitem>
            </menuitem>
            </menuitem>
            </menuitem>
            </menuitems>


            • 3. Re: Menubar not showing the whole menu
              rtalton Level 4
              I have no answer for you, sorry. Hopefully someone else can explain this one.