I worked this out, for future reference for anyone wanting to
do this.
I wanted to add a multiplier of the colour B11747. you have
to conver the idividual bits of the Hex to decimal values.
B1 is the red
17 is the green
47 is the blue
I used this site
http://www.statman.info/conversions/hexadecimal.html
to convert and ended up with
B1 is 177 which works out as 177/255 = 0.6941
17 is 23 which works out as 23/255 = 0.0902
47 is 71 which works out as 177/255 = 0.2784
you divide the number by 255 as teh decimal range is 0-255
//make bitmap
var bmp:Bitmap = myLoader.content;
bmp.smoothing = true;
var mc:MovieClip = new MovieClip();
//add bitmap to movieclip
mc.addChild(bmp);
//build array and concat the colours
var matrix:Array = new Array();
matrix = matrix.concat([0.6941, 0, 0, 0, 0]); // red
matrix = matrix.concat([0, .0902, 0, 0, 0]); // green
matrix = matrix.concat([0, 0, .2784, 0, 0]); // blue
matrix = matrix.concat([0, 0, 0, 1, 0]); // alpha
applyFilter(mc, matrix);
//apply the filter
function applyFilter(child:DisplayObject, matrix:Array):void
{
var filter:ColorMatrixFilter = new
ColorMatrixFilter(matrix);
var filters:Array = new Array();
filters.push(filter);
child.filters = filters;
}