-Author: Otobong
Click here to view the swf sample
This is a very straightforward tutorial. You will be making a twinkling star effect in flash, what you usually find in the night. ‘lol’
Step 1
Create a new flash document and give it the following properties.

Step 2
Rename the current layer to “background” and create a new layer ontop of the background layer. Rename the new layer to “star”.
Now click on the background layer and draw a wide rectangle.
After drawing you rectangle, select it and give it the following properties.
Width-549.0
Height-200.6
x-0
y-0
Select your rectangle and then using the colour mixers (Shift + F9)
Choose Linear as the Type and then select the left key and give it (#0066CC) select the right key and give it (#003366).
On the toolbox panel choose Gradient Transform tool (F) and then click once on your rectangle, then turn your gradient this way

Now we are done with the sky its time to move to the star, lock the background layer to avoid any break off.
Step 3
Click on the star layer.
Using the rectangle tool draw a white rectangle and then using the Selection Tool (V) hold down ctrl and transform it step by step to become a full-grown star as shown in the screenshot below.

Now select your star and convert it to a movie clip

With your star movie clip still selected. Click on the filters tab on the property bar and then select the + sign and choose Gradient bevel.
Give it the following properties.

The left fill Gradient Colour-#0066CC
Now go back to the properties of your star and give it the following properties.
Width-22.2
Height-28.1
Step 4
Time for simulation.
Click on frame 100 of the background layer and press F6 to insert a keyframe.
Go back to your star.
Double your star movie clip to go inside of it.
Select it and convert it to another movie clip.
Then click on frame 5 of the star movie clip and press f6. select frame 5 and then on the property bar Tween Choose Motion.
Then increase the size of your star like this


Now select the current layer and then on the property bar, Tween choose motion.
Now click on Scene 1 on the timeline to go back to the main stage.
Step 5
Click on frame 5 of the star layer and press f6.

Click on frame 6 of the star layer and press f6 again but this time change the position of your star to this.
X-74.5
y-18.0
Click on frame 7 and press f6. Change the position of your star again to this.
x-292.9
y-95.4
Click on frame 10 and press f6.
Click on frame 11 and press f6. Click on your star and then press Ctrl + D to duplicate it, then set
the position of the duplicate to this:
x-405.9
y-18.0
Duplicate another one and set the position to this.
x-121.6
y-79.8
Now click on frame 11 holding down the shit key select frame 5.

Right click on frame 11 and select copy frames.
Now right click on frame 12 and select paste frames. Select from frame 12 to frame. Right click on frame 18 and select Reverse Frames.
Click on frame 9 and make a duplicate of the star. Then reduce the size and position to this.
x-164.9
y-140.0
width-10.2
height-12.9
Click on frame 18 holding down shift click on frame 1 then right click on frame 18 and choose copy frames. Now Right click frame 19 and select paste frames. Right click on frame 37 and select paste frames.
Repeat the same step until you reach frame 100.
Now test your movie.
Twinkling, twinkling little star
How I wonder what you are.
Download the full .fla here