Menus get parented by the systemManager so you have to translate to its coordinate space var pt = new Point(0,0); pt = linkButton.localToGlobal(pt) menu.show(pt.x, pt.y)
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Hess Sent: Thursday, May 15, 2008 3:02 PM To: [email protected] Subject: [flexcoders] Position Menu under LinkButton Hi Folks, I am trying to position a Menu under a help LinkButton to give the user the help options. I thought I could use the link buttons x y (minus the height and width of the button) to position the menu in the middle under the button but it is not working. The LinkButton is a child of an HBox and its x y is always 0. I have been able to position the menu where the mouse x,y at time of click was (using Application.application.mouseX,Y) but I would prefer to have the menu always show at the same position relative to the button. Does anyone know how I can do this? Cheers, Greg

