fixing Flash Builder warning around assignment in a control statement