Set the contrast with AS3

Hi, I need to set an mc’s contrast only with AS3. It’s easy to do with filters > adjust color.
Since there’s no “adjust color”-filter in AS3 I have no idea how I’m going to do it.

Please help! :link:

gonna have to use the color matrix.
i did this for class last month
https://www.cs.tcd.ie/~qasimf/mm105/imageproFarzad%20Qasim.html

can send code when i get home, if it helps?