Adapt flixel's changed APIs