Skip to main content
Participant
January 2, 2014
Answered

Actionscript2.0, gotoandplay does not work

  • January 2, 2014
  • 1 reply
  • 770 views

In my actionscript code gotoandplay is not working. I want to play another frame when my object touches wall101.

if (hitTest(_level0.wall101)==true)
{
   gotoAndPlay
(3);
}

This topic has been closed for replies.
Correct answer ___x-_V_P_-x___

maybe you want the root to gotoAndPlay?

_level0.gotoAndPlay(3);

1 reply

___x-_V_P_-x___Correct answer
Participating Frequently
January 2, 2014

maybe you want the root to gotoAndPlay?

_level0.gotoAndPlay(3);

aroniqAuthor
Participant
January 2, 2014

Thank you, it worked.

Participating Frequently
January 2, 2014

Glad it was what you needed