15 Replies Latest reply on Mar 18, 2010 8:43 PM by rbd_bellamy

    Actionscript 3.0 - Button to open URL


      I'm attempting to have a basic FlashCS4 intro/splash screen for my  website, that after finished playing is a button that links to the  first page of my site.

      I have the animation created, I'm just having trouble actually  linking it to the page.

      When I test the movie, I get the error:


      TypeError: Error #1009: Cannot access a property or method of a null  object reference.
      at splash_fla::MainTimeline/frame66()


      Frame 66 being the frame with the button and actionscript on it:

      function  goThere(e:MouseEvent) {
      var request:URLRequest=new  URLRequest("*******");


      I'm very much an AS3 beginner, so it may just be a simple fix, but  I'm at a loss. Any help would be greatly appreciated!