My application has a requirement that if the user is in the bottom of the page and clicks on any link which in turn opens a flex popup, it will take the user to the top of the application as popup opens on the top (as per requirement). For this i have used ExternalInterface.call('scroll',0,0); which works perfectly for every browser except google chrome. in chrome when user clicks it takes the user to the top but doesnt opens any popup, once user clicks on browser scrollbar and moves slightly then the pop up opens.
Need a solution for this.
Thanks in advance.
Maybe chrome needs to get focus, if so instead of calling the scroll call
another JS function which scrolls and sets the focus on some html element in
the browser. Not sure if it will work but you can give it a try.