change APNGDecoder(, option:Object = {}) to APNGDecoder(, cursor:Integer = 0)