linking a source directory creates an error


i have simple program started use in playing few external libraries out there.

 

i downloaded flint source , uncompressed c:\developer\flint_2_1_3_source directory.

 

then, went project-properties-flex build path , selected source path tab.

 

i clicked on "add folder" button , selected above folder.

 

once had in project went source file , found code hinting totally gone.  in other words when typed "import " , hit control space, nothing popped up.  in browsing around discovered had ! root in outline view , toggling on design view see following message: "an unknown item declared root of mxml document. switch source mode correct it."

 

my source simple , looks a-ok (see below)

 

i removed source directory , issue doesn't go away now.  know what's going on here?

 

<?xml version="1.0" encoding="utf-8"?>

<s:application

 

 

xmlns:fx="http://ns.adobe.com/mxml/2009"

xmlns:s="

library://ns.adobe.com/flex/spark"

xmlns:mx="

library://ns.adobe.com/flex/mx"

minwidth="800"

minheight="600" xmlns:ns1="*">

 

 

<fx:declarations>

 

 

<!-- place non-visual elements (e.g., services, value objects) here -->

 

 

</fx:declarations>

 

 

</s:application>

can post contents of .actionscriptproperties file? that's easiest way show what's in library path.

 

from package explorer (assuming flash builder 4), hit filters button (the 1 3 arrows) , uncheck ".* resources". should see .actionscriptproperties file @ project root.

 

i able setup project flint no errors. here's mine looks after creating new flex 4 project (using default flex 4 sdk) , adding flint source:

 

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<actionscriptproperties mainapplicationpath="flinttest.mxml" projectuuid="a3f4ea08-3178-4bc9-8527-12f0cbb6456f" version="6">

  <compiler additionalcompilerarguments="-locale en_us" autorslordering="true" copydependentfiles="true" fteinmxcomponents="false" generateaccessible="false" htmlexpressinstall="true" htmlgenerate="true" htmlhistorymanagement="true" htmlplayerversioncheck="true" includenetmonswc="false" outputfolderpath="bin-debug" sourcefolderpath="src" strict="true" targetplayerversion="0.0.0" useapolloconfig="false" usedebugrslswfs="true" verifydigests="true" warn="true">

    <compilersourcepath>

      <compilersourcepathentry kind="1" linktype="1" path="c:/users/me/downloads/flint_2_1_3_source/flint_2_1_3_source"/>

    </compilersourcepath>

    <librarypath defaultlinktype="0">

      <librarypathentry kind="4" path="">

        <excludedentries>

          <librarypathentry kind="3" linktype="1" path="${project_frameworks}/libs/flex.swc" usedefaultlinktype="false"/>

        </excludedentries>

      </librarypathentry>

      <librarypathentry kind="1" linktype="1" path="libs"/>

    </librarypath>

    <sourceattachmentpath/>

  </compiler>

  <applications>

    <application path="flinttest.mxml"/>

  </applications>

  <modules/>

  <buildcssfiles/>

</actionscriptproperties>

 

jason san jose

software engineer, flash builder



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO