We help IT Professionals succeed at work.

TitleWindow - Flex

Last Modified: 2012-05-09
I have a custom component, a simple button inside it that the only thing it does is to call a TitleWindow. I want to position the TitleWindow just below the button that calls it. I can't do that cause the parent of the TitleWindow is the main application instead of the custom component (button).

Watch Question

The event target of the click should be the button.

From this you can get the coords and position your window
set the x and y according to the event.currentTarget
This one is on us!
(Get your first solution completely free - no credit card required)
Guy Hengel [angelIII / a3]Billing Engineer
Most Valuable Expert 2014
Top Expert 2009

This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.