i’ve have a problem. i want to create a video walkthrough using a mouse. what i mean by that is that the user can navigate the video forward and backward using mouse. if the user forward (drag+up the mouse), the video will play forward and stop after user drag off the mouse. (the play frame in the time line depend on the degree of the drag+up mouse). same with the backward.
to stop the video clip from looping after the video finish. after current frames equal to total frames of the video clip, the movie clip will stop
playbutton.onRelease=function(){
videoclip.play();
};
to play the movie clip after i click the play button
my problem:
i don’t know how to sign the mouse so that if the user drag upwards (y axis), the video will play forward and stop after i release the left mouse button. if the user drag backward, the video will play backward and stop after i release the left mouse button.
i think, better use the gotoAndStop(frame). how are we gonna calculated frame?. my theory is by using; if the mouse is drag upward, we can plus 10 frame to currentframe and vice versa.