Hello guys, I am working on an HTML5 canvas project in Adobe Animate. Need a bit of help!! I would like my project to jump randomly to specific frames for example frame 5, 10 and 15 in a random order onload what is the required code to achieve this?
What I do know is;
Onload jumps my project between frame 15 and ending at frame 25. Which does work sweet, but doesn't meet my brief. I am guessing that this code needs modifying.
Create an array with the frames you want. Randomly select an element of that array.
Thank you ClayUUID.
Would you be able to present me with an example?
this.frameA = [4,9,14,etc];
// on load of this frame: frameChangeF.bind(this)();
// on button click: this.button1.addEventListener("click",frameChangeF.bind(this));
Thank you so much ClayUUID.