Jump to content

shulungu

Members
  • Posts

    2
  • Joined

  • Last visited

shulungu's Achievements

Lepton

Lepton (1/13)

0

Reputation

  1. @Pas Its ActionScript and its: else (this line pops up as an error) if(currentFrame>=51 && currentFrame<=115){gotoAndPlay(115)} else (this line pops up as an error) if(currentFrame>=116 && currentFrame<=180){gotoAndPlay}(180)} else
  2. I am having trouble figuring out this code b2.addEventListener(MouseEvent.CLICK,b2handler); function b2handler(event:MouseEvent){ if(currentFrame>=0 && currentFrame<=50){gotoAndPlay(50)} else if(currentFrame>=51 && currentFrame<=115){gotoAndPlay(115)} else if(currentFrame>=116 && currentFrame<=180){gotoAndPlay}(180)} else if(currentFrame>=181 && currentFrame<=195){gotoAndPlay}(50)} } And it shows the error, "Error 1083: Syntax error: else is unexpected" Can anybody help?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.