How to Make Wheels Roll in Web Pages

Make your wheels roll on your website by creating a gif or through Flash. Gifs will show up on any browser that displays images, and Flash users will need to have the Flash player installed. The Flash player is free, and the majority of Internet users already have it installed. Rolling wheels are useful for animations such as cars, shopping carts and motorcycles.

Instructions

  1. Flash

    • 1

      Open Flash and click "File," "New" and then "Flash File (ActionScript 3.0)" from the pullout menu.

    • 2

      Import your wheel image by clicking on "File," "Import" and then "Import to Stage." Browse to where your images are, and then click "Open."

    • 3

      Click on the wheel image, and from the main menu click "Modify," "Convert to New Symbol." Click on the "Movie Clip" radial box and type in "spinningWheel" for the name.

    • 4

      Double-click on the movie clip to enter its timeline. Click on frame one of "Layer 1″ in the timeline. Right-click and select "Create Motion Tween." Right-click frame 24, and click Insert "Keyframe," "Rotation. "

    • 5

      Click "Window" from the main menu, and then click "Properties" and then "Properties" again from the pull-out menu. Under "Rotation: - time(s)," click the dash line style, and type "1,″ then click on "CCW" for the direction.

    • 6

      Go back to the main stage, and click on "Scene 1" at the bottom of the timeline to exit the "spinningWheel" movie clip's timeline. Drag the "spinningWheel" movie clip to the far right of the stage.

    • 7

      Right-click on the first frame of the timeline, and click on "Motion Tween." Drag the tween to at least 60 frames, in order to see the wheel move. Right-click on the last frame, and select "Insert Keyframe," "Position." Drag the "spinningWheel" movie clip to the other side of the stage.

    • 8

      Press "Ctrl" + "Enter" on your keyboard to test the movie. Adjust as needed. Publish your file as an .html file type by clicking "File," "Publish As" and clicking on HTML.

    Gif

    • 9

      Open your wheel in a graphic program that will create gifs such as Photoshop, Gimp or Fireworks. Create your gif by moving the wheel to a different place in each frame/layer.

    • 10

      Preview your animation by using the play button. Change the speed by entering a new value on the number located near the name.

    • 11

      Add your gif to your web page the same way you would add an image. See sample code below:

      <img border="0" src="/images/image_1.jpg" alt="Image_Description" width="304" height="228" />

Related Searches:

References

Comments

You May Also Like

  • How to Make a Homemade Toy Car Move

    Building a toy car is a good way to pass the time, and once you're done, the next step is getting your...

  • How to Make a PSI Wheel Spin

    A PSI wheel is a paper construction typically used as a tool for practicing telekinesis, and you can make it spin by...

  • How to Make Animated Dice to Roll on a Computer Desktop

    If you don't have any physical dice and you need some in order to play a particular game, you can download some...

  • Aluminum Wheels Vs. Steel Wheels

    While there are other types of wheels, aluminum alloy and steel wheels are the most common on cars and trucks. Both types...

  • Mercedes Wheel Specifications

    Mercedes Wheel Specifications. Mercedes-Benz began marketed its automobiles to the United States in 1957, under the name Mercedes-Benz Sales, Inc. In 1965,...

  • How to Roll a Tongue

    Many students are taught in science class that the ability to roll their tongues is genetically determined. This is true, but it's...

  • How to Tootsie Roll

    Thanks to the 69 Boyz in 1994, everyone could see a multitude of rolling tootsies. Today the Tootsie Roll dance is still...

  • How to Use Lock N Roll

    The game Lock N Roll is available for free play on the Internet. You access the game with Adobe Flash, a program...

  • How to Make a Flash Rollover Image

    With Flash, it is possible to create crazy effects that match what other programs such as Javascript are capable of doing. Rollover...

Related Ads

Featured