Hello, I'm a Student. Doing my final Project. I'm creating an Interactive story. So what I need is that, the user need to click certain items first before they can go to the next chapter. But I don't know how to make the next button appear after the items were click.
Thanks a lot. Appreciate the help.
You can set a variable say "count" on stage composition ready -
sym.setVariable("count" , 0);
On stage click , you keep checking the value of this variable -
if(sym.getVariable("count") == 5)
//Here "Symbol_2" is the next button that you want to appear on screen(which is initially invisible) when the symbol_1 is clicked say 5 times.
Now, on click of a button , you keep updating the variable count -
var countnew = sym.getVariable("count");
countnew = countnew+1;
sym.setVariable("count" , countnew);
Attaching the sample for reference.
Thanks and Regards,