<?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: cancel query task in flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18815#M434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the query function for the two parcel layers.&amp;nbsp; For some reason, it gets stuck in a loop.... I don't know why.&amp;nbsp; I have this query function, and then two additional functions, one for each County.&amp;nbsp; It keeps looping through the two additional functions (each County's fire, school etc) and putting them in the datagrid.&amp;nbsp; I have Fiddler, and it does not show the repeating queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2011 14:55:39 GMT</pubDate>
    <dc:creator>ShannonMartel</dc:creator>
    <dc:date>2011-03-15T14:55:39Z</dc:date>
    <item>
      <title>cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18802#M421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How to cancel the querying task of query task in the middle of query process and stop all query process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 07:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18802#M421</guid>
      <dc:creator>ReenaSingh</dc:creator>
      <dc:date>2011-01-05T07:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18803#M422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please help me, i need it urgently ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 10:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18803#M422</guid>
      <dc:creator>ReenaSingh</dc:creator>
      <dc:date>2011-01-06T10:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18804#M423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Just remove the event listener form the query task. So if you are doing some code like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;queryTask.execute(query, new AsyncResponder(onResult, onFault));
//you need to change it to
queryTask.addEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);
queryTask.addEventListener(FaultEvent.FAULT, onFault);
queryTask.execute(query);
//That way you can use remove listener
queryTask.removeEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:45:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18804#M423</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-10T20:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18805#M424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's another thread on this topic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/19168-Canceling-an-Asynchronous-call?p=61887"&gt;http://forums.arcgis.com/threads/19168-Canceling-an-Asynchronous-call?p=61887&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 17:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18805#M424</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-01-06T17:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18806#M425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Reena,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Just remove the event listener form the query task. So if you are doing some code like this:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;queryTask.execute(query, new AsyncResponder(onResult, onFault));
//you need to change it to
queryTask.addEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);
queryTask.addEventListener(FaultEvent.FAULT, onFault);
queryTask.execute(query);
//That way you can use remove listener
queryTask.removeEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am not using queryTask.addEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryTask.addEventListener(FaultEvent.FAULT, onFault);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My code is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;queryTask.&lt;/SPAN&gt;&lt;STRONG&gt;executeForIds&lt;/STRONG&gt;&lt;SPAN&gt;(query,new AsyncResponder(onResult,onFault,token))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I want to stop this task in between.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18806#M425</guid>
      <dc:creator>ReenaSingh</dc:creator>
      <dc:date>2021-12-10T20:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18807#M426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;queryTask.executeForIds(query,new AsyncResponder(onResult,onFault,token))
&lt;STRONG&gt;//you need to change it to&lt;/STRONG&gt;
queryTask.addEventListener(QueryEvent.EXECUTE_FOR_IDS_COMPLETE, onResult);
queryTask.addEventListener(FaultEvent.FAULT, onFault);
queryTask.executeForIds(query);
//That way you can use remove listener
queryTask.removeEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18807#M426</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T15:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18808#M427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Reena,&amp;nbsp; &lt;BR /&gt; &lt;PRE class="lia-code-sample line-numbers language-none"&gt;queryTask.executeForIds(query,new AsyncResponder(onResult,onFault,token))
&lt;STRONG style=": ; color: &amp;quot;Red&amp;quot;; font-size: &amp;quot;4&amp;quot;;"&gt;//you need to change it to&lt;/STRONG&gt;
queryTask.addEventListener(QueryEvent.EXECUTE_FOR_IDS_COMPLETE, onResult);
queryTask.addEventListener(FaultEvent.FAULT, onFault);
queryTask.executeForIds(query);
//That way you can use remove listener
queryTask.removeEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then how to pass &lt;/SPAN&gt;&lt;STRONG&gt;token as object&lt;/STRONG&gt;&lt;SPAN&gt; through this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18808#M427</guid>
      <dc:creator>ReenaSingh</dc:creator>
      <dc:date>2021-12-10T20:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18809#M428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reena,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The only way that I know of to pass a token object to an event listener is to create an inline function and that defeats the ability to remove the event listener. If you really need that token you need to find away to create a var that can hold the object that you can access from the onResult function.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 13:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18809#M428</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-11T13:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18810#M429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another approach could be to keep using responders but create a class member like "private var requestCancelled:Boolean" that you check in your onResult().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 15:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18810#M429</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2011-01-11T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18811#M430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Reena,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; The only way that I know of to pass a token object to an event listener is to create an inline function and that defeats the ability to remove the event listener. If you really need that token you need to find away to create a var that can hold the object that you can access from the onResult function.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually i have some set of queries which run in loops, after execution of these queries, there are some other queries which needs to be fired.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I want to stop all these queries, for which I have used &lt;/SPAN&gt;&lt;STRONG&gt;removeEventlisteners &lt;/STRONG&gt;&lt;SPAN&gt;but I am not able to stop those which are already got excuted in loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this i have even used even &lt;/SPAN&gt;&lt;STRONG&gt;Boolean &lt;/STRONG&gt;&lt;SPAN&gt;to check the condition for stopping, but the queries which are already excuted; am not able to stop them. Is there any property in the GIS Flex api to stop executions of all queries at a time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 08:31:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18811#M430</guid>
      <dc:creator>ReenaSingh</dc:creator>
      <dc:date>2011-01-12T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18812#M431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Reena,&amp;nbsp; &lt;BR /&gt; &lt;PRE class="lia-code-sample line-numbers language-none"&gt;queryTask.executeForIds(query,new AsyncResponder(onResult,onFault,token))
&lt;STRONG style=": ; color: &amp;quot;Red&amp;quot;; font-size: &amp;quot;4&amp;quot;;"&gt;//you need to change it to&lt;/STRONG&gt;
queryTask.addEventListener(QueryEvent.EXECUTE_FOR_IDS_COMPLETE, onResult);
queryTask.addEventListener(FaultEvent.FAULT, onFault);
queryTask.executeForIds(query);
//That way you can use remove listener
queryTask.removeEventListener(QueryEvent.EXECUTE_COMPLETE, onResult);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I work for a town that sits in two countys. Each county's parcels are in a seperate layer. I am using a point locater to find the address. Then I use that graphic to query the parcels. I am trying to tell it if you get a value in the FeatureSet for the parcels in County A FeatureSet then proceed to query function A. If it gets a null try County B parcel layer. I have tried to so many different ways, but it always runs both queries. This is what I have tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - Made seperate query functions for both parcel layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - Created two FeatureSets (one for each County).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 - Wrote functions to do additional queries if the featureSet is greater than zero. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It still runs both counties... Does anyone know what I am missing? Do I need eventlisteners, and how would I do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18812#M431</guid>
      <dc:creator>ShannonMartel</dc:creator>
      <dc:date>2021-12-10T20:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18813#M432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please, does anyone have any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 14:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18813#M432</guid>
      <dc:creator>ShannonMartel</dc:creator>
      <dc:date>2011-03-15T14:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18814#M433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shannon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; This sounds pretty straight forward... So you take the locator result geometry (MapPoint) and do a spatial query against County A and in the results function if the FeatureSet.Length == 0 then fire off the query for County B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you could executeForIds on both counties and the one that returns results then fires a true query to the layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 14:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18814#M433</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-15T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18815#M434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the query function for the two parcel layers.&amp;nbsp; For some reason, it gets stuck in a loop.... I don't know why.&amp;nbsp; I have this query function, and then two additional functions, one for each County.&amp;nbsp; It keeps looping through the two additional functions (each County's fire, school etc) and putting them in the datagrid.&amp;nbsp; I have Fiddler, and it does not show the repeating queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 14:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18815#M434</guid>
      <dc:creator>ShannonMartel</dc:creator>
      <dc:date>2011-03-15T14:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18816#M435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shannon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The first thing I would do is bracket your if statement here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (featureSet.features.length == 0)&lt;STRONG&gt;{&lt;/STRONG&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckParcels = new Array();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckParQuery.outSpatialReference = map.spatialReference;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckParQuery.geometry = lastAddressGraphic.geometry;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckParQueryTask.execute(meckParQuery, new AsyncResponder(onMeckParQResult, onMeckParQFault, tpoints&lt;I&gt;));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function onMeckParQResult(featureSet:FeatureSet, token:Object = null):void
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckParcels = featureSet.features;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (featureSet.features.length &amp;gt; 0){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meckSearch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function onMeckParQFault(info:Object, token:Object = null):void 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(info.toString());
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:55:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18816#M435</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T15:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: cancel query task in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18817#M436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it!&amp;nbsp; I found in my code were I told it to run the meckSearch() inside the meckSearch() function.&amp;nbsp; I think I have been staring at it too long...&amp;nbsp; not sure how I missed that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shannon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 16:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/cancel-query-task-in-flex/m-p/18817#M436</guid>
      <dc:creator>ShannonMartel</dc:creator>
      <dc:date>2011-03-15T16:17:59Z</dc:date>
    </item>
  </channel>
</rss>

