This repo has an example of a vector shader for haxeflixel which contains a matrix transform.
The matrix values can be set via uniforms.
This demo uses the matrix transform to scale up or down by a given amount.
https://jobf.github.io/haxeflixel-vertex-shader-matrix-transform