added frame counter onEnterFrame event