add setresolution method to flxg, doesn't work yet