Newest Articles

MegaCombs
Flash Media Player
XML Driven Pie Chart
Base Defender
Hangman Game
8 Ball Pool


Popular Articles

True Fullscreen Flash Mode
Mp3 Player with XML Playlist
Hangman Game
Create Pong
3d Rotating Image Cube
Catapult Game


Random Articles

3d Rotating Image Cube
Horizontal Line Transition
Space Shooter Game
Image Color Tinting using Actionscript
Create Pong
Custom Mouse Cursor


Links

Shapes the Game
Reddit
Newgrounds
TWiT
Link to SwfSpot
Swf Spot

Contact me on Google+



rss feed

Motion along a Path

Motion along a Path
AddThis Social Bookmark Button
Description: Create a motion path for an object which rotates along the ride
Author: John Bezanis
Added: February 1st 2007
Version: Flash 8


Start out by drawing your object on the screen or using File->Import to Stage. Right-Click and select Convert to Symbol. Set the type to Movie Clip. Motion Along Path
Move to frame 60 on the timeline, right-click, and select insert keyframe. Move to frame 15, right-click, and select Create Motion Tween. Right-click the layer name and select Create Motion Tween. This will create a new layer. Select this new layer, and using either the Pen Tool or Pencil Tool, draw a path for your object to follow. Click frame 1 of the layer the object is on and bring up the Properties tab. Check Orient to path to have your object rotate along the path. On the last frame of the object layer, select the object and move it to another location along the path. The object should snap to the path.

The source file is available below for download.

Download Source File
Comments Currently Disabled