I am developing an app using Starling, AS3 for mobile and would like to incorporate Feathers UI. I am using Starling 1.2 and trying to add a MetalWorksMobile theme but keep getting an error: Type was not found or was not a compile-time constant: ImageLoader
Unsure what this means or how to resolve it.
Cheers
In main .as file:
this._theme = new MetalWorksMobileTheme(this.stage);
In MetalWorksMobileTheme.as:
protected function imageLoaderFactory():ImageLoader
{
const image:ImageLoader = new ImageLoader();
image.textureScale = this.scale;
return image;
}
You should use the last Starling version for Feathers, you can take it here https://github.com/PrimaryFeather/Starling-Framework.git. There isn’t such error in this version.