Removed AS3 unreachable code and loop assignment compiler warnings