<?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 How to add a script block to the index.mxml Viewer code in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160580#M5172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to convert a working MXML application with a custom mapclick handler and an attribute table into the Flex Viewer so that I can take advantage of the better interface and widget capabilities--particularly the collapsable aspect of the attribute table widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is, what is the best practice for this to be done? Do I add a script block into the index.mxml part, or is it something I should be changing in configuration files? In my first attempt to add my script into the index.mxml file, I realized this wouldn't work because I had variables in my script referencing drop down lists in my control bar, etc.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to get this to work correctly in the viewer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-David&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI I am working with Flash Builder 4.6, Flex Api 3.3, and ArcGIS Server 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My script is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.Graphic;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.Query; 
&amp;nbsp;&amp;nbsp; import mx.collections.ArrayCollection;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import spark.events.IndexChangeEvent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create labels for drop down list data provider
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; public var myDP:ArrayCollection = new ArrayCollection(
&amp;nbsp;&amp;nbsp;&amp;nbsp; [ {timeframe:"Last 2 Weeks"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last Month"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last 6 Months"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last Year"}]);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create string variable assigned initially to definition expression for last two weeks
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; public var updateDefExp:String = "TIME_FRAME = 'TWO WEEKS'";
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create functions to update definition expression in drop down list
&amp;nbsp;&amp;nbsp; private function doQuery0():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp0:String = "TIME_FRAME = 'TWO WEEKS'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp0;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery1():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp1:String = "TIME_FRAME = '1 MONTH'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp1;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery2():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp2:String = "TIME_FRAME = '6 MONTHS'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp2;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery3():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp3:String = "TIME_FRAME = '1 YEAR'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp3;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create function to update the updateDefExp variable to the correct timeframe
&amp;nbsp;&amp;nbsp; private function updateSelection(e:IndexChangeEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(myDDL.selectedIndex == 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery0();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery1();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 2)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery2();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 3)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery3();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function myMap_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (event.target is Graphic || event.target.parent is Graphic)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = event.target is Graphic ? Graphic(event.target) : Graphic(event.target.parent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var query:Query = new Query;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.objectIds = [ graphic.attributes[myFeatureLayer.layerDetails.objectIdField]];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.zoomTo(graphic.geometry);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.scale = 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 13:23:12 GMT</pubDate>
    <dc:creator>DavidBoiano</dc:creator>
    <dc:date>2013-05-24T13:23:12Z</dc:date>
    <item>
      <title>How to add a script block to the index.mxml Viewer code</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160580#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to convert a working MXML application with a custom mapclick handler and an attribute table into the Flex Viewer so that I can take advantage of the better interface and widget capabilities--particularly the collapsable aspect of the attribute table widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is, what is the best practice for this to be done? Do I add a script block into the index.mxml part, or is it something I should be changing in configuration files? In my first attempt to add my script into the index.mxml file, I realized this wouldn't work because I had variables in my script referencing drop down lists in my control bar, etc.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to get this to work correctly in the viewer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your advice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-David&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI I am working with Flash Builder 4.6, Flex Api 3.3, and ArcGIS Server 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My script is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.Graphic;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.Query; 
&amp;nbsp;&amp;nbsp; import mx.collections.ArrayCollection;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import spark.events.IndexChangeEvent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create labels for drop down list data provider
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; public var myDP:ArrayCollection = new ArrayCollection(
&amp;nbsp;&amp;nbsp;&amp;nbsp; [ {timeframe:"Last 2 Weeks"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last Month"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last 6 Months"},
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {timeframe:"Last Year"}]);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create string variable assigned initially to definition expression for last two weeks
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; public var updateDefExp:String = "TIME_FRAME = 'TWO WEEKS'";
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create functions to update definition expression in drop down list
&amp;nbsp;&amp;nbsp; private function doQuery0():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp0:String = "TIME_FRAME = 'TWO WEEKS'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp0;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery1():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp1:String = "TIME_FRAME = '1 MONTH'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp1;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery2():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp2:String = "TIME_FRAME = '6 MONTHS'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp2;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; private function doQuery3():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var defExp3:String = "TIME_FRAME = '1 YEAR'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; updateDefExp = defExp3;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //Create function to update the updateDefExp variable to the correct timeframe
&amp;nbsp;&amp;nbsp; private function updateSelection(e:IndexChangeEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if(myDDL.selectedIndex == 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery0();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 1)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery1();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 2)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery2();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (myDDL.selectedIndex == 3)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; doQuery3();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.extent=myExtent;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function myMap_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (event.target is Graphic || event.target.parent is Graphic)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = event.target is Graphic ? Graphic(event.target) : Graphic(event.target.parent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var query:Query = new Query;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.objectIds = [ graphic.attributes[myFeatureLayer.layerDetails.objectIdField]];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.zoomTo(graphic.geometry);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myMap.scale = 1000;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myFeatureLayer.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160580#M5172</guid>
      <dc:creator>DavidBoiano</dc:creator>
      <dc:date>2013-05-24T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a script block to the index.mxml Viewer code</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160581#M5173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In general it depends on what code/functionality you are trying to transfer to the flex viewer.&amp;nbsp; Often it already has the functionality, so there is nothing to do (except learning how to use it).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When adding new code is required, most people create a widget as a way to add their functionality.&amp;nbsp; This encapsulates it nicely and makes it easy to upgrade to newer versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes people tweak an existing widget if it's already close to what they are looking for. Other times it's better to start from scratch (or with the Hello World sample).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It really depends on what you are trying to do in a specific case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 23:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160581#M5173</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2013-05-24T23:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a script block to the index.mxml Viewer code</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160582#M5174</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;Thanks for responding. Essentially what I have done is created a mapclick handler for selecting points from the one operational layer in my map. If the click is recognized as a graphic, then the map will zoom in to that point at a scale of myMap.scale = 1000.&amp;nbsp; Anytime the point is clicked, it will go to this scale.&amp;nbsp; There is also a drop down list in the control bar that when it is changed, it reassigns a variable to change the definitionExpression of the feature layer in order only show the features from the time frame as selected in the list.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I were to encapsulate all of this functionality into a custom widget, how does that work exactly? Does the widget have to be open and active for the mapclicks to work correctly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help, I really appreciate it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 May 2013 14:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/how-to-add-a-script-block-to-the-index-mxml-viewer/m-p/160582#M5174</guid>
      <dc:creator>DavidBoiano</dc:creator>
      <dc:date>2013-05-25T14:20:33Z</dc:date>
    </item>
  </channel>
</rss>

