Flash 5: ScriptClips & SmartClips
September 07, 2001
by: Robert Ross
rob@trainingtools.com
User Level - Intermediate 
 
  Download Printable in FullSite

Objectives
We’re going to build a ScriptClip that fades an Instance from 0% Alpha, or any Alpha value below 100% (though the lower the value, the greater the effect) to full Alpha (100%). In other words the Script simulates a fade in.
What are we going to fade into view? We’ll use part of a logo I’m currently developing. It consists of two Symbols. The first , the top of a bird (Symbol Name: static.bird).

The second Symbol (Symbol Name: clip.bird), consists of two Instances of the static.bird Symbol. The second Instance is reduced in scale, flipped vertically, and placed beneath the first.

We’re going to place an Instance of clip.bird on the main Timeline (or Stage) and using the Effect Panel, drop the Alpha value to 0. When the swf is played, the ScriptClip we build will fade the bird logo thingy into view, without using key frames and motion tweens!


What is a Script File? Objective
Building the Script File Using the Script File
Added Flexibility: Using Smart Clips Creating a SmartClip
Using a ScriptClip Conclusion