2 Replies Latest reply on Mar 25, 2009 8:59 AM by Gregory Lafrance

    Problem Load an Image selecting a date of DateChooser

    jcarmonaloeches
      Good morning.
      I want to load an Image when the user selects the calendar.
      The problem is the image doesn't load itself correctly.
      Does anybody knows the reason?
      Thanks in advance,
      Jaime.


      <mx:Script>
      private function fechaSeleccionada():void {
      image.load("flyers/logo.png");

      }
      ]]>
      </mx:Script>


      <mx:HDividedBox x="10" y="10" width="100%">
      <mx:DateChooser id="myDC"
      creationComplete="dateChooser_init();"
      headerStyleName="myHeaderStyleName"
      weekDayStyleName="myWeekDayStyleName"
      change="fechaSeleccionada()"
      resize="false"
      resizeEffect="none"
      />