# I can't get the actionscript working

#### JamesU

Gold Member
I'm using KoolMoviesm and I can't get the actionscript working. I want a button that when pressed, goes to the next frame. instead, I have a frame with a button, and then it immediately goes to the next frame. is there anything wrong with my script

Code:
 on(release)
{
nextFrame();
}

Related Computing and Technology News on Phys.org

#### mattmns

Have you tried pausing the frame that has the button on it?

#### JamesU

Gold Member
I added an action that was supposed to stop the movie, but it just went on to the next frame

#### mattmns

Well, first figure out how to pause (stop) the move on the desired frame, and then it will be easier (1 step at a time) I am not sure how koolmoviesm works personally, but there should be tutorials for it somewhere. Also, do you not like flash? There are a ton of resources on how to use flash.

#### JamesU

Gold Member
okay, I got it now.

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving