Fading In Flash

Fading In Flash
This tutorial aims to teach you one of the basic underpinnings of Flash. Fading in both ActionScript and tweened Flash.

Fading Objects

This tutorial will teach you how to fade symbols along the timeline which can as you probably well know create some fabulous effects used in the motion picture industry.

Step1:
Create a New flash Document in the standard document dimensions 550px width and 400px height.

Step2:
Use the Text Tool to create a Static Text Box with the text saying something like “Now you see me now you don’t”.

Step3:
Right Click the text box and select convert to symbol from the context menu.

Step4:
Click on frame 10 and press the F6 key which is used to create a new keyframe.

Step5:
Now click on the dropdown box entitled colour: with the value of none and change the value to alpha which will show another box with a percentage click this box and type 0 then hit enter.

Step6:
Click on frame 1 and select Insert->Create Motion Tween

Step7:
You have just mastered fading out an object to fade in you would hae frame one with a alpha effect of 0% and the end of the tween frame with a value of 100% or with the default alpha settings

Alternative Step1:
Create a New flash Document in the standard document dimensions 550px width and 400px height.

Alternative Step2:
Use the Text Tool to create a Static Text Box with the text saying something like “Now you see me now you don’t”.

Alternative Step3:
Right Click the text box and select convert to symbol from the context menu and select MovieClip as the type of symbol.

Alternative Step4:
Now in the properties panel assign the MovieClip the name “fader”.

Alternative Step5:
Create a rectangle box from the shape tools. Then Right click and convert to a Button Symbol.

Alternative Step6:
Go to the Actions Panel(F9) while focused on the rectangle box.

Alternative Step7:
Enter The Following code

on(press){
fader._alpha = 0;
}

Alternative Step8:
You have just experienced how to make objects invisible in flash at runtime. This can be done for forms and even NPC’s in games. Have Fun and don’t be afraid to play around.

Nathan Pakovskie is an esteemed senior developer and educator in the tech community, best known for his contributions to Geekpedia.com. With a passion for coding and a knack for simplifying complex tech concepts, Nathan has authored several popular tutorials on C# programming, ranging from basic operations to advanced coding techniques. His articles, often characterized by clarity and precision, serve as invaluable resources for both novice and experienced programmers. Beyond his technical expertise, Nathan is an advocate for continuous learning and enjoys exploring emerging technologies in AI and software development. When he’s not coding or writing, Nathan engages in mentoring upcoming developers, emphasizing the importance of both technical skills and creative problem-solving in the ever-evolving world of technology. Specialties: C# Programming, Technical Writing, Software Development, AI Technologies, Educational Outreach

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top