We’re using the EarthBrowser Mac Mouse Wheel fix in our current Flex project. I was noticing some sporadic “SecurityError: Error #2112: Provided parameter LoaderContext.ApplicationDomain is from a disallowed domain.” pop up, but only when scrolling our TileList via the middle mouse. If you used the mouse on the scrollbar, it worked fine.
Anyway, in my testing, my fix seems to work pretty good; haven’t gotten an error yet. Â We’ll be testing the updated code all week, so if I find any issues, I’ll update this post. Â Here’s the code I modified in MacMouseWheelHandler.as on line 72:
If you’re not using Flex, and just pure AS3, you might try providing a way for your components to wait a frame utilizing Event.ENTER_FRAME.