<?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 Viewer doesn't compile with FlashDevelop / Flex SDK in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705256#M21458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, and thank you for you reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you tried Project | Clean ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find any button / menu entry to "clean a project" in FlashDevelop. To make this more clear, I'm not talking about Adobe Flash Builder. FlashDevelop is a free (open source) and much less resource-hungry replacement which works really fine for me, except for compiling the Flex Viewer sources...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jan 2011 07:13:17 GMT</pubDate>
    <dc:creator>abcdefghij</dc:creator>
    <dc:date>2011-01-10T07:13:17Z</dc:date>
    <item>
      <title>Flex Viewer doesn't compile with FlashDevelop / Flex SDK</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705254#M21456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my Flex development work, I use the latest version of the FlashDevelop IDE, which is based on the open source Flex SDK (version 4.1.0). Now I have problems with compiling the ArcGIS Flex Viewer 2.2 application using this environment. I managed to fix a few errors which I was notified about by the compiler (missing library path, missing leading "/" in asset file paths). Now, I don't get any further error messages, but the project still fails to build. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, my question is, is there anyone who has successfully compiled Flex Viewer 2.2 (or 2.1, same problem there) using the FlashDevelop/Flex SDK environment and could tell me how to do it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seb&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 13:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705254#M21456</guid>
      <dc:creator>abcdefghij</dc:creator>
      <dc:date>2011-01-04T13:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer doesn't compile with FlashDevelop / Flex SDK</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705255#M21457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello together.&lt;BR /&gt;&lt;BR /&gt;For my Flex development work, I use the latest version of the FlashDevelop IDE, which is based on the open source Flex SDK (version 4.1.0). Now I have problems with compiling the ArcGIS Flex Viewer 2.2 application using this environment. I managed to fix a few errors which I was notified about by the compiler (missing library path, missing leading "/" in asset file paths). Now, I don't get any further error messages, but the project still fails to build. &lt;BR /&gt;&lt;BR /&gt;So, my question is, is there anyone who has successfully compiled Flex Viewer 2.2 (or 2.1, same problem there) using the FlashDevelop/Flex SDK environment and could tell me how to do it?&lt;BR /&gt;&lt;BR /&gt;With best regards,&lt;BR /&gt;&lt;BR /&gt;Seb&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried Project | Clean ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 16:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705255#M21457</guid>
      <dc:creator>JonFisher</dc:creator>
      <dc:date>2011-01-07T16:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer doesn't compile with FlashDevelop / Flex SDK</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705256#M21458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, and thank you for you reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you tried Project | Clean ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find any button / menu entry to "clean a project" in FlashDevelop. To make this more clear, I'm not talking about Adobe Flash Builder. FlashDevelop is a free (open source) and much less resource-hungry replacement which works really fine for me, except for compiling the Flex Viewer sources...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jan 2011 07:13:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705256#M21458</guid>
      <dc:creator>abcdefghij</dc:creator>
      <dc:date>2011-01-10T07:13:17Z</dc:date>
    </item>
    <item>
      <title>I figured it out</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705257#M21459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what was going on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason, mxmlc (the compiler that comes with the free Flex SDK) requires paths for embedded assets to begin with a "/". For example, here is a line from the Flex Viewer's "src/default.css" file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;downArrowUpSkin: Embed(source="assets/images/arrow_down.png");&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This will cause a compilation error with mxmlc. To make it work, you have to add a leading "/" to the file path:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;downArrowUpSkin: Embed(source="/assets/images/arrow_down.png");&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are many of such lines in the Flex Viewer sources, and if all of them are modified as described here, mxmlc will compile the project successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, for some reason, FlashDevelop displays only a small subset of all compiler errors which are caused by this problem. I fixed all faulty lines which FlashDevelop told me about, until no further error messages showed up. Still, the project didn't compile, with FlashDevelop providing no further explaination.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I had the idea to manually call mxmlc with the required arguments from the command line, and voilà, it spat out a bunch of more missing-slash-related error messages. I fixed them, and now it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Still, I'd be glad if someone could perhaps tell me a better solution to this problem. Having to change the sources of all projects which seem to be sort of "not built for mxmlc" is a bit ugly. Furthermore, on Linux and other Unix derivates, a leading slash normally indicates an *absolute* path. In other words, the way how mxmlc seems to resolve paths doesn't conform to a most elementary convention under these operating systems, which is extremely irritating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 08:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705257#M21459</guid>
      <dc:creator>abcdefghij</dc:creator>
      <dc:date>2011-01-13T08:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Viewer doesn't compile with FlashDevelop / Flex SDK</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705258#M21460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;geoseb, thanks for posting this, solved my issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 01:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/flex-viewer-doesn-t-compile-with-flashdevelop-flex/m-p/705258#M21460</guid>
      <dc:creator>EdSaunders</dc:creator>
      <dc:date>2011-02-09T01:53:05Z</dc:date>
    </item>
  </channel>
</rss>

