select only one if there are multiple canvas ,, toggling
private var isSelect:Canvas;
trace(isSelect);
if(isSelect != null){
isSelect.setStyle('borderStyle','solid');
isSelect.setStyle("backgroundColor","#DEE6E9");
//isSelect.setStyle("borderColor","#DEE6E9");
isSelect.setStyle("borderThickness","0");
}
Canvas(event.currentTarget).setStyle('borderStyle','solid');
Canvas(event.currentTarget).setStyle("backgroundColor","#FFFFFF");
//Canvas(event.currentTarget).setStyle("borderColor","#FFFFFF");
Canvas(event.currentTarget).setStyle("borderThickness","2");
isSelect = Canvas(event.currentTarget);