Skip to main content
Participant
August 23, 2018
Question

gotoandplay code breaking animation.

  • August 23, 2018
  • 1 reply
  • 211 views

so Im trying to make a simple animation of an eye blinking with a start button and a stop button. I have the this.stop(1) code on frame one with the first button. but the moment I add any gotoandplay or gotoandstop code to the frame and try to preview the animation the canvas is blank and there is nothing there. the moment I delete the gotandplay/gotoandstop code the animation shows up again. I cant seem to figure out the problem,any Ideas on what's going on?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
August 23, 2018

as3 is case-sensitive and that should be gotoAndStop(number or label), gotoAndPlay(number or label)

so, if that doesn't help you solve the problem and with that in mind, what exactly is the problem?  (and, if you're confused, copy and paste a goto that fails.)