<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MouseWheel event not being dispatched with the new 3.1 API? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28644#M673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Royce,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting this. It is a regression bug for version 3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, you can add the event listener with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;useCapture = true&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myMap.addEventListener(MouseEvent.MOUSE_WHEEL, myMap_mouseWheelHandler, true);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's more information about the capturing phase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde" rel="nofollow" target="_blank"&gt;http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 16:19:28 GMT</pubDate>
    <dc:creator>SarthakDatt</dc:creator>
    <dc:date>2012-12-18T16:19:28Z</dc:date>
    <item>
      <title>MouseWheel event not being dispatched with the new 3.1 API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28643#M672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got an app that needs to do some stuff when a map mousewheel event is dispatched.&amp;nbsp; With the 3.0 API this worked fine but with the 3.1 API, the event isn't being dispatched.&amp;nbsp; The map does zoom in/out when mousewheel is used but the mousewheel event simply never gets triggered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone verify this?&amp;nbsp; Is this now by design (cringe)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Royce&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 15:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28643#M672</guid>
      <dc:creator>RoyceSimpson</dc:creator>
      <dc:date>2012-12-18T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: MouseWheel event not being dispatched with the new 3.1 API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28644#M673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Royce,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting this. It is a regression bug for version 3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a workaround, you can add the event listener with &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;useCapture = true&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;myMap.addEventListener(MouseEvent.MOUSE_WHEEL, myMap_mouseWheelHandler, true);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's more information about the capturing phase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde" rel="nofollow" target="_blank"&gt;http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 16:19:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28644#M673</guid>
      <dc:creator>SarthakDatt</dc:creator>
      <dc:date>2012-12-18T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: MouseWheel event not being dispatched with the new 3.1 API?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28645#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey Royce,&lt;BR /&gt;&lt;BR /&gt;Thanks for reporting this. It is a regression bug for version 3.1.&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can add the event listener with &lt;SPAN style="font-style:italic;"&gt;useCapture = true&lt;/SPAN&gt;:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
myMap.addEventListener(MouseEvent.MOUSE_WHEEL, myMap_mouseWheelHandler, true);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Here's more information about the capturing phase:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7cdb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7cde&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great, will do, thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UPDATE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Worked.&amp;nbsp; Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mousewheel-event-not-being-dispatched-with-the-new/m-p/28645#M674</guid>
      <dc:creator>RoyceSimpson</dc:creator>
      <dc:date>2021-12-10T21:09:11Z</dc:date>
    </item>
  </channel>
</rss>

