我遇到了Flash Builder的问题。
将output folder
和output folder url
构建路径属性设置为基本上是对JBoss文件夹位置的引用的路径时,似乎只会发生这种情况。
CTRL+CLICK
显示Source could not be found for <path>.swc
错误:
主要应用程序的内容mxml:
<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="955"
minHeight="600"
xmlns:local="*"
xmlns:test="be.some.test.*">
<fx:Declarations>
<test:SomeLibraryComponent/> <!--ctrl + click failing-->
</fx:Declarations>
</s:Application>
主应用程序的.actionScriptProperties
文件:
<actionScriptProperties analytics="false" mainApplicationPath="TestCodeNavi.mxml" projectUUID="d4c352fe-5d3a-454e-bb58-db0d96bd9edd" version="10">
<compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderLocation="MIRAGE_JBOSS_SERVER/deploy/mirage-server.war/TestCodeNavi" outputFolderPath="bin-debug" removeUnusedRSL="true" rootURL="http://localhost:8080/mirage-server/TestCodeNavi" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="0">
<libraryPathEntry kind="4" path="">
<excludedEntries>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/>
</excludedEntries>
</libraryPathEntry>
<libraryPathEntry kind="3" linkType="1" path="/TestCodeNaviLibrary/bin-debug/TestCodeNaviLibrary.swc" sourcepath="/TestCodeNaviLibrary" useDefaultLinkType="false"/>
</libraryPath>
<sourceAttachmentPath>
<sourceAttachmentPathEntry kind="3" linkType="1" path="/TestCodeNaviLibrary/bin-debug/TestCodeNaviLibrary.swc" sourcepath="/TestCodeNaviLibrary" useDefaultLinkType="false"/>
</sourceAttachmentPath>
</compiler>
<applications>
<application path="TestCodeNavi.mxml"/>
</applications>
<modules/>
<buildCSSFiles/>
<flashCatalyst validateFlashCatalystCompatibility="false"/>
</actionScriptProperties>
非常感谢关于这一点的一些指示。
干杯
答案 0 :(得分:0)
尝试以下方法:
另外一个问题可能是,在库项目“Classes”选项卡中检查您选择了所有需要包含在项目中的类。