<?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 Can you embed a SWF into a Graphic? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-embed-a-swf-into-a-graphic/m-p/195768#M4584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to display a SWF in a graphic tooltip, but can't figure out how to get the SWF to work. I'd like to figure out how to stick it into attributes, if possible. I've tried picturemarkersymbol and a few other things, but to no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;esri:Map width="460" height="460" x="10" openHandCursorVisible="false"&amp;gt;
 &amp;lt;esri:extent&amp;gt;
&amp;nbsp; &amp;lt;esri:Extent xmin="-9987272" ymin="5594099" xmax="-9972214" ymax="5599469"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:SpatialReference wkid="102100"/&amp;gt;
&amp;nbsp; &amp;lt;/esri:Extent&amp;gt; 
 &amp;lt;/esri:extent&amp;gt;
 &amp;lt;esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/&amp;gt;
&amp;nbsp; &amp;lt;esri:Graphic toolTip="Field 2"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Polygon spatialReference="{new SpatialReference(102100)}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9974236" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603189"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9974236" y="5603189"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Polygon&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:symbol&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleFillSymbol alpha="0.7" color="0x009933"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:symbol&amp;gt;
&amp;nbsp; &amp;lt;/esri:Graphic&amp;gt;
 &amp;lt;/esri:GraphicsLayer&amp;gt;
 &amp;lt;esri:GraphicsLayer symbol="{infoSymbol1}"&amp;gt;
&amp;nbsp; &amp;lt;esri:Graphic&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:attributes&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Object&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:myImageURL&amp;gt;sample.jpg&amp;lt;/fx:myImageURL&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:myTitle&amp;gt;Field 2&amp;lt;/fx:myTitle&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Object&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:attributes&amp;gt;
&amp;nbsp; &amp;lt;/esri:Graphic&amp;gt;
 &amp;lt;/esri:GraphicsLayer&amp;gt;
&amp;lt;/esri:Map&amp;gt;
&amp;lt;s:SWFLoader source="content/WausauWeather.swf" x="160" y="400"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Just figured it out. I had forgotten to declare it in my DataRenderer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Apr 2012 22:54:48 GMT</pubDate>
    <dc:creator>RebeccaDanczyk</dc:creator>
    <dc:date>2012-04-10T22:54:48Z</dc:date>
    <item>
      <title>Can you embed a SWF into a Graphic?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-embed-a-swf-into-a-graphic/m-p/195768#M4584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to display a SWF in a graphic tooltip, but can't figure out how to get the SWF to work. I'd like to figure out how to stick it into attributes, if possible. I've tried picturemarkersymbol and a few other things, but to no avail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;esri:Map width="460" height="460" x="10" openHandCursorVisible="false"&amp;gt;
 &amp;lt;esri:extent&amp;gt;
&amp;nbsp; &amp;lt;esri:Extent xmin="-9987272" ymin="5594099" xmax="-9972214" ymax="5599469"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:SpatialReference wkid="102100"/&amp;gt;
&amp;nbsp; &amp;lt;/esri:Extent&amp;gt; 
 &amp;lt;/esri:extent&amp;gt;
 &amp;lt;esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/&amp;gt;
&amp;nbsp; &amp;lt;esri:Graphic toolTip="Field 2"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Polygon spatialReference="{new SpatialReference(102100)}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9974236" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603189"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9974236" y="5603189"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Array&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Polygon&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:symbol&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleFillSymbol alpha="0.7" color="0x009933"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:symbol&amp;gt;
&amp;nbsp; &amp;lt;/esri:Graphic&amp;gt;
 &amp;lt;/esri:GraphicsLayer&amp;gt;
 &amp;lt;esri:GraphicsLayer symbol="{infoSymbol1}"&amp;gt;
&amp;nbsp; &amp;lt;esri:Graphic&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:MapPoint x="-9975316" y="5603595"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:geometry&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:attributes&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Object&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:myImageURL&amp;gt;sample.jpg&amp;lt;/fx:myImageURL&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:myTitle&amp;gt;Field 2&amp;lt;/fx:myTitle&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Object&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:attributes&amp;gt;
&amp;nbsp; &amp;lt;/esri:Graphic&amp;gt;
 &amp;lt;/esri:GraphicsLayer&amp;gt;
&amp;lt;/esri:Map&amp;gt;
&amp;lt;s:SWFLoader source="content/WausauWeather.swf" x="160" y="400"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Just figured it out. I had forgotten to declare it in my DataRenderer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 22:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/can-you-embed-a-swf-into-a-graphic/m-p/195768#M4584</guid>
      <dc:creator>RebeccaDanczyk</dc:creator>
      <dc:date>2012-04-10T22:54:48Z</dc:date>
    </item>
  </channel>
</rss>

