Apart eyed Pop-up Flash Navigation Menu
Aug 13

cat buttonsIt’s possible to create a flash movie where the movement of the cursor moves the frame forward or backward:

To do this you create a movie. In the movie add your movieclip and in the same frame add the following actionscript:

stop();
_root.onMouseMove = function() {
moveForward.gotoAndStop(Math.ceil(_xmouse/5));
}

The movie width and the number of frames in the movieClip affects the action. In this example the movie is 250px wide and the movieClip has 50 frames.
Math.ceil(_xmouse/5) makes the movie move 5 frames for every pixel the cursor moves.

Lastly, every frame in the movieClip should have the action stop();

written by mat

del.icio.us:Cats Scratch  digg:Cats Scratch  spurl:Cats Scratch  wists:Cats Scratch  simpy:Cats Scratch  newsvine:Cats Scratch  blinklist:Cats Scratch  furl:Cats Scratch  reddit:Cats Scratch  fark:Cats Scratch  blogmarks:Cats Scratch  Y!:Cats Scratch  smarking:Cats Scratch

Leave a Reply