3 Replies Latest reply on Aug 13, 2017 10:11 AM by ClayUUID

    Screen turns white when I preview after  I add code in actions

    sabermaster28 Level 1

      My file works until I add this code to "Actions" then when I load the file in muse the file turns white in the preview rather then displaying my animation.

       

      This is the code I am adding

       

      /* Click to Go to Web Page

      Clicking on the specified symbol instance loads the URL in a new browser window.

       

      Instructions:

      1. Replace http://www.adobe.com with the desired URL address.

         Keep the quotation marks ("").

      */

       

      button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_7);

       

      function fl_ClickToGoToWebPage_7(event:MouseEvent):void

      {

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

      }

       

      /* Click to Go to Web Page

      Clicking on the specified symbol instance loads the URL in a new browser window.

       

      Instructions:

      1. Replace http://www.adobe.com with the desired URL address.

         Keep the quotation marks ("").

      */

       

      button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_8);

       

      function fl_ClickToGoToWebPage_8(event:MouseEvent):void

      {

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