|
Using
the ScriptClip
To use the ScriptClip we simply drop it onto the Timeline that we want
to affect. Lets look at the current Timeline of clip.bird.

The Timeline
consists of two Layers (top and bottom), each with a single key frame
What I usually do is add an additional Layer to place the ScriptClip on
the Timeline. In this case, Ive added a new Layer and called it
script.

Having created
the new Layer, place an Instance of the ScriptClip on the Stage of the
clip.bird Symbol. I usually center the ScriptClip on the Stage so that
the selection box of the Instance reflects the scale of the image content.
Keep in mind the script that exists in two key frames inside the ScriptClip
addresses or affects the parent Timeline that the Instance of the ScriptClip
is placed on.
The final step is to place an Instance of clip.bird, now including the
ScriptClip within it, onto a Timeline. In this case, place it on the main
Timeline (or the main Stage). When you place it on a Timeline, the alpha
property defaults to 100%. Because the ScriptClip increments the current
alpha value, its important that you reduce the alpha value appropriately
when you place the Instance on a Timeline. In this case, Ive placed
the Instance of clip.bird in the center of the Stage and using the Effect
Panel, reduced the alpha property to 0%, making the Instance completely
invisible. When the swf is previewed [CTRL-ENTER], the Instance fades
into view. View x0001.swf
to see the ScriptClip function.
By changing the value of the increment, you can modify the fade-in effect.
View x0002.swf
to view the effect with an increment value of 1. View x0003.swf
to view the effect with an increment value of 10.
You can load the demo file, scriptclip.fla,
into Flash and modify the increment value yourself. Note how smooth the
Instance fades in, particularly with fast fades.
|