Skip to main content
Participant
February 2, 2017
Question

Enlaces

  • February 2, 2017
  • 2 replies
  • 176 views

Como hago para que un botón me lleve a un archivo y otro botón - en el segundo archivo- me lleve al primero?

    This topic has been closed for replies.

    2 replies

    Inspiring
    February 2, 2017

    dinos si estas exportando a swf o html5, si es html5 pues solo selecciona el boton o mc en la timelina, y abre el panel de code snippets

    aqui selecciona ACTIONS--> CLIC TO GO TO A WEBPAGE

    te nombrara el boton si no lo habias hecho y en el panel de acciones te pondra un ejemplo que modificas ya con la url que necesitas:

    /* 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 ("").

    */

    this.boton1.addEventListener("click", fl_ClickToGoToWebPage);

    function fl_ClickToGoToWebPage() {

      window.open("http://www.adobe.com", "_blank");

    }

    robdillon
    Participating Frequently
    February 2, 2017

    Is this HTML or Actionscript? By file, do you mean a new THML page or a different Flash movie? Or is it something else? Please give as much detail as possible.