In Flex i have two date fields startdate and enddate.. now, if i select a start date the date range for the end date should show only the next two days..(i.e: End date = start date + 2 days and other days should be disabled and cant be selected).
private function onScroll():void {
endDate.selectableRange("");}
<mx:DateField id="startDt" change="onScroll()"/>
<mx:DateField id="endDate"/>
Need suggestion.