This content has been marked as final. Show 16 replies
But it's the Flash ContextMenu that I'm right-clicking which causes the problem.
you have to right click to get the menu.. then you are right clicking the menu itself?? Is there something you need in the menu?
Yes, the ContextMenu is part of the application.
The problem with the ContextMenu is that after a user right-clicks, the ExternalInterface.callback function which is receiving Browser window scrollbar y values, only updates when the scrollbar is released. Whereas before the right-click, the ExternalInterface.callback function receives the Browser window scrollbar y values immediately as the scrollbar is being dragged up/down.
Does that make sense? It's sort of difficult to explain.
I'm going to do a control-test, just to make sure something else in my app isnt causing the problem. Who knows...
Unfortunately, in the most basic of ExternalInterface tests, with the default ContextMenu, the ExternalInterface.callback function STOPS receiving updates WHILE the browser's scrollbar is being dragged, AFTER the ContextMenu is triggered by the right-click.
The same problem DOESN'T happen with other browser events, such as the window.onresize event.
So does this sound like an ExternalInterface bug to anyone else?
yes, after doing a quick test I see what you mean.. I'm not sure why, or how to fix this, and since you need the menu, disabling the right click isn't an option..
Oh, the burden of differing browser standards....
var yOffsetCrossBrowser = typeof window.pageYOffset != 'undefined' ?
The Safari problem still persists....
Apple bug report
Steps to Reproduce:
Scroll the browser scrollbar, and notice the Flash movie receives updates while dragging the scrollbar.
Right-click the Flash movie.
Scroll the browser scrollbar, and notice the Flash movie only receives updates AFTER releasing the scrollbar.