flex - "Open" PopUpMenuButton on MouseOver? -
I have PopUpMenuButton. I want to make it so that the mouseover (either above the button or "V" part of the menu) is open Went for I do not care about clicking the button
I tried to do a My_PopUpMenuButton.dispatchEvent (New MenuEvent.ITEM_CLICK) , when another button was clicked, T work.
Any thoughts? Thanks!
Have you tried to call the open () method of control directly on mouseover, like?
& lt; Mx: popup menu button id = "myButton" mouseOver = "myButton.open ()" label = "hover over me" & gt; & Lt; Mx: dataProvider & gt; & Lt; Mx: array & gt; & Lt; Mx: string & gt; Item A & lt; / Mx: string & gt; & Lt; Mx: string & gt; Item two & lt; / Mx: string & gt; & Lt; Mx: string & gt; Item three & lt; / Mx: string & gt; & Lt; / Mx: array & gt; & Lt; / Mx: dataProvider & gt; & Lt; / Mx: PopUpMenuButton & gt;
If this question is misunderstood, or if there is any extra behavior, then you are trying to suppress, post back and I will keep an eye out.
Comments
Post a Comment