0 Replies Latest reply on Nov 4, 2009 10:20 AM by jess-scene

    BUTTON LINKS

    jess-scene

      I'm currently working with Flash CS4 / ActionScript 3.0 on a MAC

      In order to link my banners to their corresponding webpages I've used this code:

       

      btn.addEventListener(MouseEvent.CLICK, openWebPage);

       

      function openWebPage(evt:MouseEvent):void{

           var urlReq:URLRequest = new URLRequest("http://whatever.....");

           navigateToURL(urlReq);

      }

       

      The problem is that the links will work for MAC buuut not for Windows....

      Can anyone explain to me whats wrong and how to fix it?