Hey, what codes would you use to make a second button play the next part of an animation when clicked?
@ZAIRAADRIANO
11 ай бұрын
my button is error cant define the Bind
@KinruneGames
3 жыл бұрын
I know this update is probably old I'm using the same code and I got everything in the video right but it keeps saying "1086 Syntx error: expecting semicolon before rightparen." and idk what to do to play it out for my animation
@choobtorials
3 жыл бұрын
Does it say which line? Probably a typo somewhere. Maybe an extra parentheses or something.
@KinruneGames
3 жыл бұрын
@@choobtorials Never mind I figured it out a few days ago and I had the wrong name to it 😅
@jenoah28
7 ай бұрын
same here
@loweni7460
4 жыл бұрын
I'm using HTML5 canvas my buttons aren't working though they just appear I click on play but the animation isn't playing
@bweany6728
4 жыл бұрын
u have to git gud and it works then
@juanbetancur8402
4 жыл бұрын
The first part of the code works, the animation stops in the first frame. However, there's a problem with the second part. It shows an error of compilation on the last code: "Call to a possibly undefined method bind through a reference with static type function".
@sznuw
2 жыл бұрын
for anyone else who gets this error: this is my work around function playAnimation(e: MouseEvent): void { this.play(); } button.addEventListener(MouseEvent.CLICK, playAnimation); 'button' is the instance name. the playAnimation has one argument of type MouseEvent and returns nothing so it is type void (the : void in the function declaration). this.button wasn't necessarry in my case. posting this because i found this comment yesterday and hoped someone answered with a work around so i am the change i wanna see in the world :p cheers!
@joyce3410
Жыл бұрын
@@sznuw thankyou your comment really helps !
@sznuw
Жыл бұрын
@@joyce3410 youre welcome!
@F_Slush
Жыл бұрын
@@sznuwYOU SAVED ME A YEAR LATER ON A SCHOOL ASSIGNMENT THANK YOUU
@sznuw
Жыл бұрын
@@F_Slush you're welcome, hope you get a good grade :D
@PolarTitan
4 жыл бұрын
Yeah I followed exactly and its cycling like a gif....
@madisonstratford2671
2 жыл бұрын
you need otomake sure you're in HTML 5 and not actionscript 3.0
@jenoah28
7 ай бұрын
same here
@АннаВасовская
2 жыл бұрын
You are cool! Thank You!
@gardenstuff2924
3 жыл бұрын
Very helpful.
@Turtleback8024
2 жыл бұрын
The audio quality could improve.
@Grumpyoldtwit
3 жыл бұрын
Fuck I miss ActionScript. This HTML stuff is so bloody hard to understand.
@choobtorials
3 жыл бұрын
Yeah I miss it too. It was so well-documented also.
@bhavinnandurbar3236
4 жыл бұрын
Plz Don't use to the subtitle. Otherwise you're video the westing time
Пікірлер: 30