7 Replies Latest reply on Jun 12, 2007 6:02 AM by kglad

    From as 3.0 to 2.0, plz help!

    vedtam
      I can't finde how to translate this into as 2.0

      stop();
      function showImg1(evt:MouseEvent):void
      {
      img_ldr.source = "d:/so.jpg";
      }
      img1_btn.addEventListener(MouseEvent.CLICK, showImg1);

      I need the code for as 2.0 so I could use the ImageLoader component?
      Thx....