<?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: Draw Widget tooltips in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660484#M14787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You right Robert, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Listen your application (viewer or other) creation complete handler. Get resource bundle with name "ESRIMessages"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
creationComplete="onCreationComplete()"
...
&amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[
...
/**
 * Listen creation complete handler
 */
protected function onCreationComplete():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rb:IResourceBundle = resourceManager.getResourceBundle("en_US", "ESRIMessages") as IResourceBundle;
 rb.content["drawTooltipMappoint"] = "New message text 1";
 rb.content["drawTooltipPolygonContinueDrawing"] = "New message text 2";
 rb.content["drawTooltipPolylinePolygonStart"] = "New message text 3";
 rb.content["drawTooltipPolylinePolygonComplete"] = "New message text 4";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
]]&amp;gt;
&amp;lt;/fx:Script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look for more decompiled resources in attachment&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:56:35 GMT</pubDate>
    <dc:creator>IvanBespalov</dc:creator>
    <dc:date>2021-12-12T03:56:35Z</dc:date>
    <item>
      <title>Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660480#M14783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good afternoon all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having a hard time figuring out how to change the tooltips of the draw operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I click on the Draw Circle. The tooltip that is next to the cursor says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Press down to start and let go to finish"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can i change this text?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TIA,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hugo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 11:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660480#M14783</guid>
      <dc:creator>HugoDurana</dc:creator>
      <dc:date>2011-03-17T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660481#M14784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hugo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You can't in the current API. This is already submitted as an enhancement request though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660481#M14784</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-17T12:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660482#M14785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hugo,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You can't in the current API. This is already submitted as an enhancement request though.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all, thanks for the update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, where can i find the enhancement request list for Flex Viewer and it's API?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660482#M14785</guid>
      <dc:creator>HugoDurana</dc:creator>
      <dc:date>2011-03-17T12:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660483#M14786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hugo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It is not publicly available. I only know about it because I am part of a private beta testing of the 2.3 API and Viewer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:38:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660483#M14786</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-03-17T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660484#M14787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You right Robert, but...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Listen your application (viewer or other) creation complete handler. Get resource bundle with name "ESRIMessages"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
creationComplete="onCreationComplete()"
...
&amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[
...
/**
 * Listen creation complete handler
 */
protected function onCreationComplete():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rb:IResourceBundle = resourceManager.getResourceBundle("en_US", "ESRIMessages") as IResourceBundle;
 rb.content["drawTooltipMappoint"] = "New message text 1";
 rb.content["drawTooltipPolygonContinueDrawing"] = "New message text 2";
 rb.content["drawTooltipPolylinePolygonStart"] = "New message text 3";
 rb.content["drawTooltipPolylinePolygonComplete"] = "New message text 4";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
]]&amp;gt;
&amp;lt;/fx:Script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look for more decompiled resources in attachment&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660484#M14787</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2021-12-12T03:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660485#M14788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Ivan.&amp;nbsp; That works perfect!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note, I had to add: import mx.resources.IResourceBundle;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 23:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660485#M14788</guid>
      <dc:creator>TammyBearly</dc:creator>
      <dc:date>2011-03-18T23:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660486#M14789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you must create a ESRIMessages.properties and other properties file from Flex Locale. After that you must to compile a swf for your specific locale and at end you must to pass the path to the new Locale swf in html wrapper. It's a bit hard but I've made that for my specific country it_CH.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If need some infos... write here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 07:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660486#M14789</guid>
      <dc:creator>GiosiaPoma</dc:creator>
      <dc:date>2011-12-07T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660487#M14790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Giosia,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/017p/017p00000007000000.htm"&gt;you're right, but a little too late&lt;/A&gt;&lt;SPAN&gt;. Where are &lt;/SPAN&gt;&lt;A href="http://www.adobe.com/devnet-apps/flex/tourdeflex/web/"&gt;alot of ways&lt;/A&gt;&lt;SPAN&gt; to make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - One of them: compile and compile project fo each locale. If the client change language, application loads new swf (if we are tolking about mapping application application loads &amp;gt;1 new swfs) - as a result new initialization of all components ... The cliant lost the result of his work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - Other way to change locale on fly: if&amp;nbsp; final application has &amp;gt;1 locale. For example: your client works with application, and the result of his work is some report, which contains search results, some diagrams, images, map in specific extent, some number of highlighted features ... The client wants to print a report for all possible languages�??�??, without losing search results without losing the map condition, without losing anything except change the language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. We choosed to: create 1 resource xml file for each language, create public singleton class witch holds information about current locale, create public singleton class witch can read xml resources + listen locale change + has public property for each string property. May be its not better way: but 1-we hold all messages/strings in 1 file, we can access it in anytime from any part of application, it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 08:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660487#M14790</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2011-12-07T08:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660488#M14791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You right Robert, but...&lt;BR /&gt;&lt;BR /&gt;Listen your application (viewer or other) creation complete handler. Get resource bundle with name "ESRIMessages"&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
creationComplete="onCreationComplete()"
...
&amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[
...
/**
 * Listen creation complete handler
 */
protected function onCreationComplete():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rb:IResourceBundle = resourceManager.getResourceBundle("en_US", "ESRIMessages") as IResourceBundle;
 rb.content["drawTooltipMappoint"] = "New message text 1";
 rb.content["drawTooltipPolygonContinueDrawing"] = "New message text 2";
 rb.content["drawTooltipPolylinePolygonStart"] = "New message text 3";
 rb.content["drawTooltipPolylinePolygonComplete"] = "New message text 4";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
]]&amp;gt;
&amp;lt;/fx:Script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look for more decompiled resources in attachment&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Ivan!! This helps me a lot!! lol&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bruno Faria&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660488#M14791</guid>
      <dc:creator>BrunoPereira1</dc:creator>
      <dc:date>2021-12-12T03:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660489#M14792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You right Robert, but...&lt;BR /&gt;&lt;BR /&gt;Listen your application (viewer or other) creation complete handler. Get resource bundle with name "ESRIMessages"&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;...
creationComplete="onCreationComplete()"
...
&amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[
...
/**
 * Listen creation complete handler
 */
protected function onCreationComplete():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var rb:IResourceBundle = resourceManager.getResourceBundle("en_US", "ESRIMessages") as IResourceBundle;
 rb.content["drawTooltipMappoint"] = "New message text 1";
 rb.content["drawTooltipPolygonContinueDrawing"] = "New message text 2";
 rb.content["drawTooltipPolylinePolygonStart"] = "New message text 3";
 rb.content["drawTooltipPolylinePolygonComplete"] = "New message text 4";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
]]&amp;gt;
&amp;lt;/fx:Script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Look for more decompiled resources in attachment&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much for this. Using it now in 2.5, works just fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:56:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660489#M14792</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2021-12-12T03:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Draw Widget tooltips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660490#M14793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The last ESRI release version of API for FLEX (2.5) has help document with name &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/help/017p/017p00000007000000.htm"&gt;Localization&lt;/A&gt;&lt;SPAN&gt;. This document provide link to &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/supportfiles/ESRIMessages.properties"&gt;ESRIMessages.properties&lt;/A&gt;&lt;SPAN&gt; file and description: how to use it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Today we do not need to hack ESRI code (in old versions "ESRIMessages.properties" were hidden &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; ). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...&lt;BR /&gt;var rb:IResourceBundle = resourceManager.getResourceBundle("en_US", "ESRIMessages") as IResourceBundle;&lt;BR /&gt;...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - Create folder in you project solution (if not exists): "locale" folder. In "locale" create folder "myLanguage". Put "&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/supportfiles/ESRIMessages.properties"&gt;ESRIMessages.properties&lt;/A&gt;&lt;SPAN&gt;" in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - Translate strings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 - Go to Project &amp;gt; Flex Compiler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4 - Set the Additional compiler arguments:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;-locale=myLanguage&amp;nbsp; -source-path=locale/{locale}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, yes. Hacking method still works. :cool:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 06:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/draw-widget-tooltips/m-p/660490#M14793</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2012-03-02T06:43:13Z</dc:date>
    </item>
  </channel>
</rss>

