If you are using checkbox component you can simply do it like
instance.selected=true or false in action script
I am not sure this what you were looking for. Are you using Air with Flash or Flex ?
Thanks for your replay
I am using Flex.
I want to know how assign a value for a CheckBox
If a user checked the CheckBox then it will be = 1
If the CheckBox Unchecked it will be = 0
in the database
can you give an example please
Sorry I am not very familiar with Flex. I use Air with Flash cs4 but I found this link for you,
may be u get some clue from this
i am trying to find this link but i lost it .