08. Click out of this MovieClip and delete it off the stage. Now we’ve got the animation ready to use, it’s time to create the shading for the tunnel. Select the Oval Tool (O) and draw a circle of 1,500 pixels in diameter. Make sure you have no stroke on this circle and choose a gradient fill. Here we’ve used a medium blue (#003399) to light blue (#0099FF). It’s important to have a darker colour to a lighter colour in the centre to help the tunnel illusion. Once you’ve made your file, try different gradient effects to see how this looks within the animation.
09. Now we need to turn this into another MovieClip. Select Modify > Convert to Symbol (F8) Call this ‘mc tunnelShading’ and again make sure the registration is central. As before, we need to get this ready to use in our code later, so click Export for ActionScript within Linkage. Leave the Export for first frame ticked and give it the Identifier name of ‘tunnelShading’. Delete it from the stage.
10. Now it’s time to combine all our elements. You should have a clear stage and a library with three movie clips ready to use. On the main timeline, call your layer AS (short for ActionScript), and then we can write some code.