InfoWindow Flickering

1004
4
Jump to solution
06-12-2014 01:21 PM
CaseyBentz
Occasional Contributor II
I am having trouble with the InfoWindow flickering while mousing over some features.  A simple example can be found by going to the InfoWindow on MouseOver sample, https://developers.arcgis.com/flex/sample-code/infowindow-on-mouseover.htm.  Look for the county of Willimasburg.  Mouse in from the east, and it works as expected.  Mouse in from the south, specifically Berkeley or Clarendon County, and you will see a seizure inducing flicker of the InfoWindow. It is weird behavior to say the least.  I saw some posts on this from 2011, but there was no resolution posted.  If anyone has an idea on how to fix this, I sure would be happy.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
Try using this to prevent the infinite flicker loop:

myMap.infoWindow.show(myMap.toMapFromStage(event.stageX + 2, event.stageY + 2));

View solution in original post

0 Kudos
4 Replies
DasaPaddock
Esri Regular Contributor
Try using this to prevent the infinite flicker loop:

myMap.infoWindow.show(myMap.toMapFromStage(event.stageX + 2, event.stageY + 2));
0 Kudos
CaseyBentz
Occasional Contributor II
Thanks Dasa, that worked.  Now I have a problem with having a mouse click listener for a polygon graphic and not being able to pan when I click and drag when I start my click on one of the graphics.
0 Kudos
DasaPaddock
Esri Regular Contributor
0 Kudos
CaseyBentz
Occasional Contributor II
Thanks again Dasa.
0 Kudos