Welcome, Have a Nice Friday





Swishmax Realistic Neon Light Flicker Effect


In this tutorial you will learn how to create a realistic neon light flickering effect using the graphics supplied, this effect can be added to you own images at a later time if you prefer.

Example:





Step.1 (Important Please Read)

First open Swishmax 2 and set the movies properties for this example i have only loaded 2 news items to the movie so i have used the following. width = 426px x height = 313px. frame rate at 25fps.

Save the images below

cavern.png



neon.png



shadneon.png



Step.2

Import the cavern.png into your canvas, then import shadneon.png and lastly the neon.png into the stage. resize the shadneon.png and the neon.png to fit over the door until you are happy.
when in place select the shadneon.png and using the arrow keys move down 3 times and right twice to give the sign a shadow. see fig.1 below.

Fig.1

group the three shapes together as a movie clip and rename the movie clip to sign.
on the sign movie clip add the following script to it.

Swishscript

onFrame (1) {
setLabel("normal");
}
onFrame (2) {
stop();
}
onFrame (3) {
setLabel("flicker");
}
onFrame (5) {
gotoAndPlay("flicker");
}
onFrame (6) {
stop();
}


Double click on the first frame at the side of the neon.png this will place a move action on that frame, now bring up the tint panel by pressing Shift+f9 click on advanced and set to 120 see fig.2 below.

Fig.2

and your timeline should look like fig.3 below.

Fig.3

now double click on the first frame at the side of shadneon.png and set to 100 in the tint panel.
On the 3rd frame of each image add the move action by double clicking and then set the tint to 90 for both images. On frame 4 of neon set the tint to 120 and on shadneon set the tint to 100.

Fig.4


Step.3

Create an empty movie clip and name it control, then add the following script to it.

Swishscript

onSelfEvent (enterFrame) {
ran=random(30);
}
onFrame (15) {
gotoAndPlay(1);
}
onSelfEvent (enterFrame) {
if (ran==7) {
_parent.sign.gotoAndPlay("flicker");
}
if (ran==13) {
_parent.sign.gotoAndPlay("normal");
}
}



Thats it press Ctrl+T and you should end up with something looking like the example at the start of this tutorial.

Buy this source file for £2.00



Latest Submissions

Site Overview

swish-designs.co.uk
relies on donations and purchases from users
to enable too keep this site running. as the site has grown in its content and reputation so has the cost of keeping this site going, thank you to all who help and have helped me achieve this goal. still many files are offered for free in the download center to help others learn and understand swishmax.
however files that acompany tutorials have a download fee as do shop files which help towards the the sites running costs, happy swishing.


Contact Me

You can use the following information
to either find or contact me.

Blog:www.loweonline.co.uk
Facebook: Facebook Group
E-mail: craig@swishdesigns.co.uk

Find Me At

Swishzone:Find Me There
Loweonline: Find Me There