<?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: Passing Parameters to flex viewer using flashvars from HTML in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/passing-parameters-to-flex-viewer-using-flashvars/m-p/145269#M3368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying something similar as below i.e. would like to pass the location of the config.xml as a parameter from index.html&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to do this as our proxy server is unable to rewrite the location of the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to read the parameter from ViewerContainer.mxml, I get null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var flashvarConfig:String = FlexGlobals.topLevelApplication.parameters.config;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (flashvarConfig)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configFile = flashvarConfig;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;All,&lt;BR /&gt;&lt;BR /&gt;I am trying to Passing Parameters to flex viewer using flashvars from HTML.&lt;BR /&gt;I am using FlashVars in html page found in HTML Template Folder and i was trying to access the parameter from SearchWidget.mxml init method using : FlexGlobals.topLevelApplication.parameters.&lt;BR /&gt;&lt;BR /&gt;But i am getting Nulls all the time. Is there any thing am i missing ?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2011 14:46:21 GMT</pubDate>
    <dc:creator>RavinHasseea</dc:creator>
    <dc:date>2011-09-13T14:46:21Z</dc:date>
    <item>
      <title>Passing Parameters to flex viewer using flashvars from HTML</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/passing-parameters-to-flex-viewer-using-flashvars/m-p/145268#M3367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to Passing Parameters to flex viewer using flashvars from HTML.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using FlashVars in html page found in HTML Template Folder and i was trying to access the parameter from SearchWidget.mxml init method using : FlexGlobals.topLevelApplication.parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i am getting Nulls all the time. Is there any thing am i missing ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 17:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/passing-parameters-to-flex-viewer-using-flashvars/m-p/145268#M3367</guid>
      <dc:creator>SantoshDonka</dc:creator>
      <dc:date>2011-01-24T17:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Parameters to flex viewer using flashvars from HTML</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/passing-parameters-to-flex-viewer-using-flashvars/m-p/145269#M3368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying something similar as below i.e. would like to pass the location of the config.xml as a parameter from index.html&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to do this as our proxy server is unable to rewrite the location of the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When trying to read the parameter from ViewerContainer.mxml, I get null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var flashvarConfig:String = FlexGlobals.topLevelApplication.parameters.config;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if (flashvarConfig)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configFile = flashvarConfig;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;All,&lt;BR /&gt;&lt;BR /&gt;I am trying to Passing Parameters to flex viewer using flashvars from HTML.&lt;BR /&gt;I am using FlashVars in html page found in HTML Template Folder and i was trying to access the parameter from SearchWidget.mxml init method using : FlexGlobals.topLevelApplication.parameters.&lt;BR /&gt;&lt;BR /&gt;But i am getting Nulls all the time. Is there any thing am i missing ?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help in advance.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2011 14:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/passing-parameters-to-flex-viewer-using-flashvars/m-p/145269#M3368</guid>
      <dc:creator>RavinHasseea</dc:creator>
      <dc:date>2011-09-13T14:46:21Z</dc:date>
    </item>
  </channel>
</rss>

