Copy link to clipboard
Copied
Como hago para que un botón me lleve a un archivo y otro botón - en el segundo archivo- me lleve al primero?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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");
}
Find more inspiration, events, and resources on the new Adobe Community
Explore Now