11 Replies Latest reply on May 2, 2013 9:22 AM by kglad

    Cant get my ad banner into a clickable link


      Hi all - hoping someone can help me.


      I have created a simple ad banner in Flash CS5. I am trying to make it so that when I u/l the .swf to my site, the banner will be a clickable link that will take me to the desired place. I have found some tutorials on yt - one in particular was very good. I followed it to the tee, but it still does not work. The banner exports just fine, but there is no URL associated with it. I am using AS 3.0 and this is the code I have:

      import flash.events.MouseEvent;
      import flash.net.URLRequest;


      function pressed(e:MouseEvent):void

       var url:String = "[http://www.umysite.com | http://www.umysite.com]"
       var request:URLRequest = new URLRequest(url);


      Can someone please tell me what I am missing here? Thank you!