3 Replies Latest reply on Sep 2, 2009 4:44 PM by kglad

    Clickable dynamic images

    jayNarh

      Hi,

       

      I'm trying to simply dynamically load an image (or movie) and if the user clicks on it a web page is loaded. I have successfully been able to dynamically load an image but nothing happens when I click on it. I'm using Flash CS4 with AS 2. Here's my code

       

      myPlayer.stop();
      myPlayer.unloadMovie(0);
         
      _root.createEmptyMovieClip("container",1);
      container.loadMovie("../images/alerts/login.jpg",this);

       

         

      container.onRelease = function(){
      getUrl("load.php", "_blank");
      }