some utils created by ourselves,and some component improved from haxeflixel