flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Ferreira (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33996) Sub-sub menu second click
Date Sun, 15 Dec 2013 22:56:07 GMT
Hugo Ferreira created FLEX-33996:
------------------------------------

             Summary: Sub-sub menu second click
                 Key: FLEX-33996
                 URL: https://issues.apache.org/jira/browse/FLEX-33996
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: Menu
    Affects Versions: Apache Flex 4.11.0
         Environment: - Flex 4.11
- AIR 3.9
- FB 4.7
- Mac OSX Mavericks
            Reporter: Hugo Ferreira


The sub-sub menu from spark menu don't fire in the second time.

	<fx:Script>
		<![CDATA[
			import spark.events.MenuEvent;
			
			protected function onSelectedItem(event:MenuEvent):void
			{
			}
		]]>
	</fx:Script>

	<ns:Menu id="menu" labelField="@label" selected="onSelectedItem(event)">
		<ns:dataProvider>
			<s:XMLListCollection>
				<fx:XMLList xmlns="">
					<menu label="Admin">
						<item label="Company"/>
						<item separator="true"/>
						<item label="Users"/>
						<item label="Permissions"/>
					</menu>
					<menu label="Menu 2">
						<item label="Sub-menu 1"/>
						<item separator="true"/>
						<item label="Sub-menu 2">
							<item label="Sub-sub menu 1"/>
							<item label="Sub-sub menu 2"/>
						</item>
					</menu>
				</fx:XMLList>
			</s:XMLListCollection>
		</ns:dataProvider>
	</ns:Menu>



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message