Skip navigation
Currently Being Moderated

Move tooltip CSXSWindowType.TOOLTIP

Apr 26, 2012 2:03 AM

hi,

 

I'd like to show and hide  a tooltip window, and it works, but the position of the window is always at the top left of the screen (the monitor screen).

Is there a way to position it, for example relative to the current mouse position?

 

My code for showing the window:

 

_preview = new PreviewWindow();

_preview.addEventListener(Event.CLOSE, onPreviewClose, false, 0, true);

_preview.showStatusBar = false;

_preview.type = CSXSWindowType.TOOLTIP;

_preview.open();

 

PrreviewWindow is an mxml Window component.

Setting  _preview.x  moves the content of the window to the right but keeps the window itself at the top left of the screen.

 

Thanks,Jeff.

 
Replies
  • Currently Being Moderated
    Apr 26, 2012 3:33 AM   in reply to JeffWinder

    If I'm not mistaken, tooltip window types are going away...

     

    Harbs

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points