Reputation: 1139
I use Starling 1.6 with Adobe AIR 17.0 And now this error just jumps from no place(previous version runs well). It happens before the AssetManager load done.
Even if I just use this simple code:
var bgTexture:Texture = Texture.fromBitmapData(new EMBED(), false, false, scale);
The error in this line:
fromBitmapData(bitmap.bitmapData, generateMipMaps, optimizeForRenderToTexture, scale, format, repeat)
format = "bgra";
generateMipMaps = false;
optimizeForRenderToTexture = false;
scale = 2;
This error happens! I follow the starling scaffow-mobile project.
Can you please help me explain and guide me how to solve this? Ask if you need any more detail please.
Upvotes: 0
Views: 567