5 Replies Latest reply on May 31, 2011 5:45 PM by tseyigai

    Can anyone help me with this fla?

    tseyigai Level 1

      I've had some really good help with this issue, but for some reason I keep getting an error message when attempting to code a script that has a button going to a url.  I have the enclose fla. here with a banner. I'm wanting the banner to gotourl function. In actionscript 3 it should be:

       

      btn.addEventListener(MouseEvent.CLICK,f);

      function f(e:MouseEvent):void{
      navigateToURL(new URLRequest("http://www.angelfire.com/in/HisTruth/copyofindex.html"));
      }

       

       

      I add the btn. instance for the banner and made it btn. So I added a layer underneath the original one and coded it in frame 1 as it is stated above.

      However, when attempting to view it, it comes up with a duplicate error.  I don't get it.

       

      Here's the fla. if someone here can help me out. It's getting pretty frustrating.

       

      http://www.angelfire.com/in/HisTruth/Untitled-1-1.fla



      Thank you, Tseyigai