在mxmlc中编译AS3时找不到源路径基类定义

时间:2013-04-21 08:32:27

标签: actionscript-3 flex mxmlc

由于这是Ludum Dare的预热时间,我想我确保我刚刚下载的Flex SDK可以正常工作。简短回答:事实并非如此。

每次我尝试运行

./mxmlc -compiler.source-path=../../../Flixel/org/flixel ../../../Flash/FindTheLight/src/FindTheLight.as 

我明白了:

Config in /Users/jonatannoponen/Developer/Tools/flex_sdk_4.6/frameworks/flex-config.xml loading
/Users/jonatannoponen/Developer/Flash/FindTheLight/src/FindTheLight.as(7): sar.: 36 Error: Baseclass FlxGame definition not found.

public class FindTheLight extends FlxGame
                                  ^`

1 个答案:

答案 0 :(得分:0)

显然,SDK无法找到FlxGame类。您的FlxGame.as位于何处? 另外,您不认为使用IDE(例如FlashDevelop)可以解决您的问题吗?好奇。