Hi,

I have a DateChooser in a popUp window.  If I set the displayedMonth and 
displayedYear 
properties on that DateChooser (after creating the popup), nothing happens. The 
display is 
still on the  month and year previously selected/displayed. Does anybody have 
an idea ?

code (parent comp):

_datePickerWin = 
DateRangerPopUp(PopUpManager.createPopUp(Application.application as 
DisplayObject, DateRangerPopUp, true));
_datePickerWin.compDateRange = _dateRange;

code (DateRangerPopup):
public function set compDateRange(dateRange:Array):void
{
            _compDateRange = dateRange;
                
          dateChooser.selectedRanges = [ {rangeStart: _compDateRange[0], 
rangeEnd: 
_compDateRange[1] }];
                
        dateChooser.displayedMonth = _compDateRange[1].month;
        dateChooser.displayedYear =  _compDateRange[1].fullYear;
                        

Thank's rico

Reply via email to