0 Replies Latest reply on Jun 18, 2008 12:53 PM by kdennis4

    Anyone using the Quietly Scheming Calendar?

    kdennis4
      Hello All,

      If anyone is familiar with this calendar it's within the click of the "Month" "Week" or "Day" function. click goes to:
      protected static const displayOptions:Array = ['month','week','day']

      private function displayModeItemClickHandler():void
      {
      cal.displayMode=displayOptions[displayMode.selectedIndex];
      }


      private function displayModeHandler():void
      {
      switch(cal.displayMode)
      {
      case "day":
      case "days":
      displayMode.selectedIndex = 2;
      break;
      case "week":
      case "weeks":
      displayMode.selectedIndex = 1;
      break;
      case "month":

      default:
      displayMode.selectedIndex = 0;
      break;
      }
      }
      What's happening is that once I go out of the Month view to say the Day view it shows the appropriate times and a slider. Then if I click the Month button again, the slider disappears, but the times remain on the side of my calendar. Any suggestions or updates to the code would be greatly appreciated! Thanks!