Update Fill.as

Replaced ternary operators with if conditional