7 Replies Latest reply on Jun 20, 2013 9:44 AM by kglad

    ClickToGoToWebPage snippet not working




      i'm having a problem with the ClickToGoToWebPage snippet because it works while i am in a preview mode, but once i publish my file, nothing happens when i click on the button.  I tried created a simple file to test out the problem.  i choose actionscript 3.0 with flash player 11.4.  i wrote some text and then converted it to a symbol with the instance name as: test.  i embedded the go to webpage snippet with the proper instance name and it works perfectly when previewing, but not when published as an HTML file.  


      I am working on a recently bought flash cs6 and doubt that an update would help (which i am not sure how to do).  the version is  i am using windows 8. 


      here's what's in my actions layer:





      test.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage);



      function fl_ClickToGoToWebPage(event:MouseEvent):void


                navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");




      on an unrelated note, why can't i just write text and then put the web address in the "Link" text box under the text options?  i've tried this, but it does not work as well.  what is the "Link" function?


      if anybody has any insight, it would be appreciated.