hi, this is a part of my code
[Embed(source='dmr/images/icones/icnPresenceInline.png')];
[Bindable]
private var presentAuBureau:Class;
[Embed(source="dmr/images/icones/icnVacancesInline.png")];
[Bindable]
private var enCongeAujourdhui:Class;
override public function set data (value:Object):void {
super.data = value
if(data.onLeaveToday == true) {
etat.source = new presentAuBureau();
etat.toolTip = "Présent au bureau";
}
if(data.presence == '1') {
etat.source = new enCongeAujourdhui();
etat.toolTip = "En congé aujourd'hui";
}
}
It doesn't compile .. trouble with "meta data requires an associated definition. I can't find what's missing ... all examples i've googled are somehow the same code.
Any hint please ??
TIA