<?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: adding footer to maps on 1.3 viewer in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219458#M6843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; For that just set the bottom and right attributes to 0 or 5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 10:52:21 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-06-21T10:52:21Z</dc:date>
    <item>
      <title>adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219454#M6839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I looked at the source to the 2.3 copyright widget by Robert Scheitlin and tried to make something similar for the 1.3 viewer, here's the source, which isn't working:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;!--
////////////////////////////////////////////////////////////////////////////////
//
// Display footer on maps
//
////////////////////////////////////////////////////////////////////////////////
--&amp;gt;

&amp;lt;BaseWidget xmlns&amp;nbsp;&amp;nbsp;&amp;nbsp; ="com.esri.solutions.flexviewer.*" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx&amp;nbsp;&amp;nbsp; ="http://www.adobe.com/2006/mxml"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="600" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="220" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; widgetConfigLoaded ="init()"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 &amp;lt;mx:Script&amp;gt;
&amp;nbsp; 
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.events.ExtentEvent;
&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function init():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.addEventListener(ExtentEvent.EXTENT_CHANGE, repositionInfo);
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.text = "footer text";
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function repositionInfo(event:Event):void
&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.text = "footer text";
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/mx:Script&amp;gt;
&amp;nbsp; 
&amp;lt;mx:Label id="txtVersion" alpha="1" /&amp;gt;
 
&amp;lt;/BaseWidget&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I added the following to the config.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;widget right="95" bottom="3" url="com/xyz/widgets/footer/footer.swf"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 12:09:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219454#M6839</guid>
      <dc:creator>DanielLewis</dc:creator>
      <dc:date>2011-06-17T12:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219455#M6840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I made some changes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;!--
////////////////////////////////////////////////////////////////////////////////
//
// Display footer on maps
//
////////////////////////////////////////////////////////////////////////////////
--&amp;gt;

&amp;lt;BaseWidget xmlns&amp;nbsp;&amp;nbsp;&amp;nbsp; ="com.esri.solutions.flexviewer.*" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx&amp;nbsp;&amp;nbsp; ="http://www.adobe.com/2006/mxml"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="600" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="220" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; widgetConfigLoaded ="init()" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 &amp;lt;mx:Script&amp;gt;
&amp;nbsp; 
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import mx.messaging.channels.StreamingAMFChannel;
&amp;nbsp;&amp;nbsp; import com.esri.ags.events.ExtentEvent;
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function init():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; const color:String = "0x000000";
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.setStyle("color", toNumber(color.length ? color : "0x000000"));
&amp;nbsp;&amp;nbsp;&amp;nbsp; const fontFamily:String = "Verdana";
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.setStyle("fontFamily", fontFamily.length ? fontFamily : "Verdana");
&amp;nbsp;&amp;nbsp;&amp;nbsp; const fontSize:String = configXML.label.@fontsize;
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.setStyle("fontSize", parseInt(fontSize.length ? fontSize : "9"));
&amp;nbsp;&amp;nbsp;&amp;nbsp; const fontWeight:String = configXML.label.@fontweight;
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.setStyle("fontWeight", fontWeight.length ? fontWeight : "bold");


&amp;nbsp;&amp;nbsp;&amp;nbsp; txtVersion.text = "Footer Text";
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function toNumber(value:String):int
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (value.substr(0, 2) == "0x")
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return parseInt(value, 16);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; return parseInt(value, 10);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 

&amp;nbsp;&amp;nbsp; 
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/mx:Script&amp;gt;

&amp;lt;mx:Label id="txtVersion" alpha="1"&amp;nbsp;&amp;nbsp; text="Footer Text" enabled="true"/&amp;gt;
 
&amp;lt;/BaseWidget&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Apologies to Robert for obliterating his code, but trying to learn.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This DOES display the text, but on the dock and it can't be undocked.&amp;nbsp; Perhaps I'm approaching this wrong and shouldn't do it as a widget?&amp;nbsp; Could a change be made to mapmanager (assuming that's the right place) to add a footer to the display below the map being displayed, or overlay the bottom of the map being displayed?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219455#M6840</guid>
      <dc:creator>DanielLewis</dc:creator>
      <dc:date>2021-12-11T10:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219456#M6841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; If you are wanting to add some static text to the bottom of the map then just add a mx label to the index.mxml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 14:24:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219456#M6841</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-06-20T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219457#M6842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Daniel,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; If you are wanting to add some static text to the bottom of the map then just add a mx label to the index.mxml.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&amp;nbsp; How do I make it so the label will "stick" to the bottom of the screen and move with the bottom edge as the user resizes the browser window?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 08:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219457#M6842</guid>
      <dc:creator>DanielLewis</dc:creator>
      <dc:date>2011-06-21T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219458#M6843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; For that just set the bottom and right attributes to 0 or 5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 10:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219458#M6843</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-06-21T10:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: adding footer to maps on 1.3 viewer</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219459#M6844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Daniel,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; For that just set the bottom and right attributes to 0 or 5.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 15:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/adding-footer-to-maps-on-1-3-viewer/m-p/219459#M6844</guid>
      <dc:creator>DanielLewis</dc:creator>
      <dc:date>2011-06-21T15:04:10Z</dc:date>
    </item>
  </channel>
</rss>

