Copy link to clipboard
Copied
I have a short animation, at the end of which I want the web page to go directly to another url.
I can see the code smippet in the action that allows me to add a clickable link, but I want it to transfer automatically. Is this possible?
I clicked on an object in the timeline and have got so far as adding the following action on the last keyframe, can anybody tell me what should I change? I tried changing "click" to "complete" and "ended" but neither seemed to work.
this.movieClip_1.addEventListener("click", fl_ClickToGoToWebPage_1);
function fl_ClickToGoToWebPage_1() {
window.open("index.php", "_self");
}
I assume you can see the line of code that performs the actual web page load. So just... put that code in the last frame.
Copy link to clipboard
Copied
I assume you can see the line of code that performs the actual web page load. So just... put that code in the last frame.
Copy link to clipboard
Copied
so simple, I was way overthinking it! Thank you so much!