Wednesday, 22 December 2010

Slider Bar

Today I had the house to myself so I have been able to tack the timeline, I found a tutorial that uses a slider to control frames within a movie clip, you can find the tutorial here:

http://www.gotoandlearnforum.com/viewtopic.php?t=24015

The way it works in laymen’s terms is the code measures the length of a movie clip, in this case a slider bar, it then counts how many frames are in your movie clip and divides the length of the slider bar by the number of frames. It then links the position of the slider along the bar to the individual frames, so when the slider moves so far along the bar the movie moves to the next frame.

Firstly I stripped away the non relevant parts of the code, I then manipulated the code to control not only the frames within the movie clip but also frames on the main timeline and it seems to work but the slider is sticking a bit at first, once you get it moving it works fine.

On another note two of my navigational buttons are not working, I’m not sure why but I will investigate.

No comments:

Post a Comment