<?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: Flex API 2.5 - PictureMarkerSymbol load swf  bug in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203391#M4749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tianbaowen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the png and swf files&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2012 06:42:18 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-02-17T06:42:18Z</dc:date>
    <item>
      <title>Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203390#M4748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tianbaowen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The appears to be a bug in PictureMarkerSymbol loading swf for version 2.5 of the Flex API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In version 2.5�?When PictureMarkerSymbols (a swf file, a png file) are superimposed on a graphicsLayer with the same point, the two pictures location of the gap seems to be very far and the location of the swf is not correct.As the map zoom, the relative position of the two symbols changes.Is this a BUG?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12033[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 06:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203390#M4748</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-17T06:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203391#M4749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tianbaowen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the png and swf files&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 06:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203391#M4749</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-17T06:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203392#M4750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Here is a post referencing the bug and a workaround:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/16704-PictureMarkerSymbol-with-SWF-not-visible-until-Map-zoomed?p=52409&amp;amp;viewfull=1#post52409"&gt;http://forums.arcgis.com/threads/16704-PictureMarkerSymbol-with-SWF-not-visible-until-Map-zoomed?p=52409&amp;amp;viewfull=1#post52409&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; and to c&lt;/SPAN&gt;&lt;STRONG&gt;lick the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:03:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203392#M4750</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-02-17T11:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203393#M4751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: tianbaowen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tian,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Here is a post referencing the bug and a workaround:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/16704-PictureMarkerSymbol-with-SWF-not-visible-until-Map-zoomed?p=52409&amp;amp;viewfull=1#post52409"&gt;http://forums.arcgis.com/threads/16704-PictureMarkerSymbol-with-SWF-not-visible-until-Map-zoomed?p=52409&amp;amp;viewfull=1#post52409&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Don't forget to &lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt; and to c&lt;STRONG&gt;lick the top arrow (promote)&lt;/STRONG&gt; as shown below:&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not the same bug.when I&amp;nbsp; used the swf with the default size,it didn't work yet.The locations of the swf and png are still not in the same place.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2012 22:53:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203393#M4751</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-19T22:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203394#M4752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi tianbaowen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have got the same problem as you with zooming swf files. With pngs however everything works correctly, but swfs are misplaced after performing zoom in our zoom out. Did you find any workaround for it ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 09:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203394#M4752</guid>
      <dc:creator>KamilSzukalski</dc:creator>
      <dc:date>2014-02-26T09:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203395#M4753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: szakalszaleniec&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, I have figured out why ArcGIS API for Flex has got sometimes problems with swfs as PictureMarkerSymbol. Everything depends on dimensions of swfs. When its canvas in Flash/Illustrator is exactly a bounding box of graphics in that swf, there is no problem at all with giving swf as PictureMarkerSymbol. The problem starts when we have got content of let's say 16px by 16px and canvas is of about 200px by 200px. After supplying swf as PictureMarkerSymbol, API centers it automatically - so even if you had your origin point in top left corner of swf, you do not have to offset in xy that icon - it is done automatically. This is the main reason why during zooming in/out of swf with wrong canvas dimensions, one can see that symbol is changing position &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; The center of swf is always in the correct place of MapPoint but due to centering, it still has to draw empty pixels in swf &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I hope it will help others &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Long story short - swf size must be exactly the same as the bounding box area of content &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, 26 Feb 2014 10:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203395#M4753</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-02-26T10:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203396#M4754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: bjorn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have got the same problem as you with zooming swf files.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kamil, are you also using version 2.5?&amp;nbsp; If not, which version are you using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 14:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203396#M4754</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-03-03T14:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Flex API 2.5 - PictureMarkerSymbol load swf  bug</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203397#M4755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using ArcGIS Flex API 3.6 (December 2013)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/flex/"&gt;https://developers.arcgis.com/flex/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 19:44:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-api-2-5-picturemarkersymbol-load-swf-nbsp-bug/m-p/203397#M4755</guid>
      <dc:creator>KamilSzukalski</dc:creator>
      <dc:date>2014-03-03T19:44:14Z</dc:date>
    </item>
  </channel>
</rss>

