Hi
I created an air application with a schedule.
To populate this schedule with appointment, I launch an httpservice and
result is use to populate an array collection. Each time user change
week, a new request is sending.
The variable myDataCalendar (array collection) is defined as [Bindable]
Combine variable declaration and object creation in single statement. See the
below pseudo code for example:
private var myDataCalendar :ArrayCollection=new ArrayCollection();
function ChangeWeekHandler(Event){
myDataCalendar= HttpServiceToGetNextWeekData();
myDataCalendar.refresh();
}
2 matches
Mail list logo