Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

gotoandplay code breaking animation.

New Here ,
Aug 23, 2018 Aug 23, 2018

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?

TOPICS
ActionScript
193
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2018 Aug 23, 2018
LATEST

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.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines