我正在开发一个应用程序使用Starling,AS3的移动,并想纳入羽毛用户界面。我正在使用Starling 1.2并尝试添加MetalWorksMobile主题,但不断收到错误:未找到类型或类型不是编译时常量: ImageLoader
不确定这意味着什么或者如何解决它。
干杯
在主.as文件中:
this._theme = new MetalWorksMobileTheme(this.stage);在MetalWorksMobileTheme.as中:
protected function imageLoaderFactory():ImageLoader
{
const image:ImageLoader = new ImageLoader();
image.textureScale = this.scale;
return image;
}发布于 2012-12-06 23:24:05
你应该使用最新的Starling版本的羽毛,你可以在https://github.com/PrimaryFeather/Starling-Framework.git这里使用它。这个版本没有这样的错误。
https://stackoverflow.com/questions/13741290
复制相似问题