【发布时间】:2014-02-19 10:10:18
【问题描述】:
package com.efg.games.stubgame {
import flash.text.TextFormat;
import flash.text.TextFormatAlign;
import flash.geom.Point;
import com.efg.framework.FrameWorkStates;
import com.efg.framework.GameFrameWork;
import com.efg.framework.BasicScreen;
import com.efg.framework.ScoreBoard;
import com.efg.framework.SideBySideScoreElement;
public class Main extends GameFrameWork{
(注意:这只是代码的一部分)。
错误在标题中说明。
GameFrameWork.as 的路径是 classes/com/efg/framework/GameFrameWork.as
路线是
Source
classes
com
efg
framework
GameFrameWork.as
projects
stubgame
flashIDE
stubGame.fla
stubGame.as
com
efg
games
stubgame
Main.as
StubGame.as
【问题讨论】:
-
您确定
classes文件夹是项目的源路径之一吗? -
类应该在项目文件夹下吗?
-
它应该与您的 FLA 位于同一目录中,或者通过
File -> ActionScript Settings手动添加。
标签: actionscript-3