I get how to link a word to a URL but what I don’t get is how to make a word (act as link and) jump to another frame within the scene.
thanks in advance!
binotaur
ps: I suppose this is something like beginner stuff so it means I AM one
I get how to link a word to a URL but what I don’t get is how to make a word (act as link and) jump to another frame within the scene.
thanks in advance!
binotaur
ps: I suppose this is something like beginner stuff so it means I AM one
Are you using an input field to get the word? If so, you can add the following code to a button event:
var frameLabel = inputTextField.text;
gotoAndPlay(frameLabel);
If you’re providing the text via a static textfield, you can simply convert the link word into a button and then use this code in the same button:
gotoAndPlay(“Put your frame label here”);
Another approach would be to create invisible buttons and place them over the relevant words in the static textfield and use the same code. You can then format the words to make them look like links (underline, different colour, etc) and the invisible button would make the hand icon appear.
Thanx!
:: Copyright KIRUPA 2024 //--