Hi all
I have this class:
public class MovieData
{
public var id:String, name:String,
desc:String, descLoaded:Boolean=false;
[Bindable]
public var isApproved:Boolean=false;
}
And this code in another class:
public var dtaMovieData:MovieData;
this.addChild(chkApproved);
this.chkApproved.label = "Approved"
this.chkApproved.selected = {this.dtaMovieData.isApproved};
but I get various compile errors when I try to build it - mostly due to the
curly braces. How do I bind this variable to the checkbox?
Many Thanks.
Giles Roadnight