Step One: Setting up the Flash File
- Open a new: Flash Movie
- Go to: Modify> Document (Ctrl+J)
- If you wish change the: Background Colour
- Set the size to: 250 x 250 pixels
- Click: OK
Step Two: Creating the Nucleus
|
Step Three : Creating the Electron
- Select the Oval tool:

- Draw a small: Perfect circle
- Go back to the Selection Tool:

- Delete the: Stroke (outside border of the circle)
- Select the: Circle
- Select a light colour or Gradient Fill:

- Right click and Select: Convert to Symbol
- Name the Convert the circle to a Movie Clip named: mc_electron
- Select a centred registration point:

- Click: OK

The Movie clip: mc_electron
Step Four : Creating the Revolving Electron
- Go to: Insert > New Symbol
- Name the Symbol: mc_revolving_electron
- Select: Movie Clip
- Click: OK
- If the Library is closed Open it: Window > Library (F11)
- Drag onto the centre of the stage a copy of the Symbol: mc_nucleus
- Use the Ellipse tool to draw an ellipse that is slightly large then the Nucleus: Draw Ellipse
- Select the Ellipse Fill (centre) and press: Delete
The black ellipse will become the electrons orbital path.
- Select the Symbol mc_nucleus and press: Delete
- Select a colour for your electrons orbital path. I selected: Red
My red ellipse will become the electrons orbital path.
- Right Click in Frame 22 and select: Insert Frame
- In the Timeline rename Layer 1 to: Ring
- Create a new Layer by clicking the Insert Layer button:

- Rename the new layer: Ball1
- Right Click (Mac: Ctrl click) on the Ball 1 Label and select: Add Motion Guide

The new Guide Layer is at the top. - Select the ellipse and go to: Edit >Copy (Ctrl+V)
- Select Frame 1 of the Guide Layer and go to: Edit > Paste in Place (Ctrl+Shift+V)
- On Frame 1 of the Ball 1 layer, place an instance of the clip: mc_electron
- In the last Frame of the Ball 1 Layer, right click and select: Insert keyframe
- Select Frame 1 of the Ball 1 Layer, right click and select: Create Motion Tween
- In the Property Inspector select: Orient to Path

Check the Orient to Path check box.
- Turn off Visibility
in all the Layers except the: Guide Layer

Guide Layer is visible.
- Select the Eraser tool:

- Zoom in really closely to any point on the ellipse in the Guide Layer and erase a small fraction of the ellipse. See below:

Zoom right up to the ellipse and erase a small section.
- Lock the Guide layer:

- In the Ball 1 Layer turn on the: Visibility
- Select the frame 1 of the: Ball1 Layer

The Guide Layer is locked.
- Make sure Snap to Objects is ON: View > Snapping > Snap to Objects

Snap to Objects is selected.
- Move the Symbol mc_electron so its registration point is snaps to the left ellipse endpoint :

Drag the electrons registration point ( the small circle
) until it snaps to the end point of the guide line. - In the Ball 1 Layer select the: End Keyframe (Frame 22)
- In Frame 22 snap mc_electron to the other end of the: Guideline (the right side of the gap)
- Move the play head to Frame 1 (any Layer) and press: Enter
You will see the animation.
When done, the Movie Clip mc_revolving_electron should animate like this.
Note: Registration point isn't important.
Note: The exact frame number doesn't matter. The higher the frame number, the longer the electron takes to animate around the nucleus.
Note: You should see a definite snap movement when the symbol latches onto the guideline.
Step Five : Creating the Atom Movie Clip
|



Electron centred and Nucleus centred.
The symbol mc_revolving_electron has the Instance name: ball1
The blue is my circle on the Mask 1 layer. With the hole cut in it you can see the nucleus below. 


No comments:
Post a Comment