improve parameters of Flash object