<?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: Scale Bar, resize and low resolution screen in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161623#M3774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am trying to move the scale bar up when the screen resolution is small&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You shouldn't have to do any of that.&amp;nbsp; The scalebar is automatically moved up (since it's placement is based on the bottom of the map).&amp;nbsp; Test for example by resizing the browser for a basic map like &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/01nq/WorldImageryMap.swf"&gt;http://resources.arcgis.com/en/help/flex-api/samples/01nq/WorldImageryMap.swf&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You can resize that window to as small as you want and you will still see the scalebar and the logo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I hinted on in your other post, &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/72876-Application-scale-bar-and-screen-resolubtion?p=254574&amp;amp;viewfull=1#post254574"&gt;http://forums.arcgis.com/threads/72876-Application-scale-bar-and-screen-resolubtion?p=254574&amp;amp;viewfull=1#post254574&lt;/A&gt;&lt;SPAN&gt;, I still think that there is something related with your specific application &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>Sun, 09 Dec 2012 22:52:37 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2012-12-09T22:52:37Z</dc:date>
    <item>
      <title>Scale Bar, resize and low resolution screen</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161622#M3773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to move the scale bar up when the screen resolution is small, so I created a resize event for the application but I get errors when I try to set the style. I know I am pretty close to a solution.Does anybody know how to set the style for a scale bar using actioscript? Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;

&amp;nbsp;&amp;nbsp; protected function application1_resizeHandler(event:ResizeEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(this.scaleX &amp;gt; 1){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //check if we need to readjust to a normal scale of 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var effectiveWidth:int = this.width*this.scaleX;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var effectiveHeight:int = this.height*this.scaleY;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(effectiveWidth &amp;gt; 1280 || effectiveHeight &amp;gt; 1024){
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }else{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //the scale is still 1, lets see if we should scale it up
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(this.width &amp;lt; 1280 || this.height &amp;lt; 1024){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; styledscalebar.getStyle("bottom", 150);
&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;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161622#M3773</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-12-06T15:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar, resize and low resolution screen</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161623#M3774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am trying to move the scale bar up when the screen resolution is small&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You shouldn't have to do any of that.&amp;nbsp; The scalebar is automatically moved up (since it's placement is based on the bottom of the map).&amp;nbsp; Test for example by resizing the browser for a basic map like &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/samples/01nq/WorldImageryMap.swf"&gt;http://resources.arcgis.com/en/help/flex-api/samples/01nq/WorldImageryMap.swf&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; You can resize that window to as small as you want and you will still see the scalebar and the logo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I hinted on in your other post, &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/72876-Application-scale-bar-and-screen-resolubtion?p=254574&amp;amp;viewfull=1#post254574"&gt;http://forums.arcgis.com/threads/72876-Application-scale-bar-and-screen-resolubtion?p=254574&amp;amp;viewfull=1#post254574&lt;/A&gt;&lt;SPAN&gt;, I still think that there is something related with your specific application &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>Sun, 09 Dec 2012 22:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161623#M3774</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2012-12-09T22:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scale Bar, resize and low resolution screen</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161624#M3775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you might be right. Although my application does not have a height the map panel does, and even though it is in %, it is causing this problem. But I think I will just move the scale to the top right as it would be difficult to change the design now. I will keep this in mind for a new application! Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 13:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/scale-bar-resize-and-low-resolution-screen/m-p/161624#M3775</guid>
      <dc:creator>ionarawilson1</dc:creator>
      <dc:date>2012-12-12T13:58:23Z</dc:date>
    </item>
  </channel>
</rss>

