How to avoid overlap with info window and other components

05-30-2010 07:10 PM
New Contributor
I'm using the sample flex viewer template, with a custom identify widget which displays images and identify results.

The identify results end up being fairly large and hard to read as they appear under other widgets and controls.

One workaround seems to be to set the the child index of the popup component.

  private function init():void {
   parent.setChildIndex(this.parent, numChildren-1);

What I'd like to do is dynamically reposition the popup component based on other components to avoid overlap.  The following post seems to be some help however it does it by attaching a mouse move event listener to every component.

Has anyone else come up with a solution for this?


Tags (2)
0 Kudos
0 Replies