forked from: ImageLoaderTest

if you want to avoid the jagged lines then set the smoothing property to true for the loaded image,

I must be use the "LoaderContext" to avoid the "SecurityError: Error #2122: Security sandbox violation ..."