I don't understand, why are we still using 'loader' to load resources even though we've already used 'starling'?

I don’t understand, why are we still using ‘loader’ to load resources even though we’ve already used ‘starling’?

Why not use the ‘Starling’ resource manager?

Reliable Cancellation of flash.display.Loader

In the context of Starling for ActionScript 3.0, the two AssetManager classes both tap into flash.display.Loader to perform their task.

The older starling.utils.AssetManager:


The newer starling.assets.AssetManager uses the starling.assets.BitmapTextureFactory, which uses it:

1 Like

@Bink

Oh, I see. Sorry, I rarely check the source code of “Starling”. Thank you for letting me know

1 Like

@Bink Will openfl starling have the same problem as above? Thank you

OpenFL does not appear to have an implementation of ImageDecodingPolicy.ON_LOAD yet, so it would not have the same issue.