description = "To imitate the flow of electricity.";
version = "1.00";
bin = "ElectronicWave2.bin";
========== Description Part End ==========
========== Parameter Part Begin ==========
$nCharacterCount(EDIT,INT,1,1 10000,"Total Characters ","The total characters using the special effect. The value is defined by the selected characters in the movie, but can not be changed in the property box.");
$nFrameCount(EDIT,INT,3,3 3,"Total Frames","It indicates the total frames of actions. The total frames of the effect is probably more than it.");
$bDirection(LIST,INT,1,"Left":1 "Right":0,"Direction","To control characters beginning to change from left to right, or right to left.");
$bIsChangeColor(LIST,INT,1,"Yes":1 "No":0,"Color Change ","To control whether to change the characters' colors.");
$nInterval(EDIT,INT,1,1 1000,"Interval","The time difference between the former character and the latter one beginning to change.");
========== Parameter Part End ==========
========== Function Part Begin ==========
nCharacterCount = 8;
nFrameCount = 8;
nInterval = 1;
bIsChangeColor = 1;
bDirection = 1;
nIndex = nCharacterCount;
nTemp = nInterval;
if(bDirection)
nWho = 1;
else
nWho = nCharacterCount;
for(i = 1;i <= nCharacterCount ;i++)
{
nIndex++;
this["c" + i].duplicateMovieClip("t" + i + 1, nIndex);