How do you make gotoandstop in clips control the project

how do you make a timeline script control the normal frames

first, name the clip you want to animate, for example, “clipOne”
next, type the following code into your trigger(mouseclick, keypress, etc),

clipOne.gotoAndStop(frame number);

1 Like

ohh thanks :D

oh it didn’t work

well i added a new version,

clipOne.gotoAndStop(frame number);

and you have to replace “frame number” with the frame you want it to go to and “clipOne” with the name of your clip

i want to like click something in a timeline but go to a frame in the normal frames

oh so, click a clip and have the project react?
for that you replace clipOne with project
EXAMPLE: if you wanted to go to frame 10 you would put

project.gotoAndStop(10);

ok im gonna try

ohhh thanks it worked

2 Likes