Glide, ported from Flash to Haxe.