Updated for OpenFL 1.1