4 Replies Latest reply on Oct 10, 2011 8:19 AM by alisoncutler

    Newbie is still being stupid! Actionscript for a button to a URL isn't linking??

    alisoncutler Level 1

      Not sure what I am doing wrong now.  I have coded the frame as below, yet when I publish it it doesn't link?  Any suggestions? (obviously a false link here, but am using a link that actually works!)

       

      stop();

      var getPaypalBoostaboiler:URLRequest = new URLRequest("http://www.addressgoeshere.co.uk");

      //---Get URL---\\

      paypal_boostaboiler.addEventListener(MouseEvent.CLICK,boostaboilerBuy);

      function boostaboilerBuy(event:MouseEvent):void{
      navigateToURL(getPaypalBoostaboiler);
      }