Search Tutorials
Creating the DNA effect like in the FlashBox banner. Create an object like (One Strand of DNA(Like a cotton bud)) Make it a Movie Clip.Give it an instance name of dna1 Now create a layer and name it actions. In the first keyframe give action:
for (i=2; i<30; i=i+1)
{
duplicateMovieClip ("/dna1", "dna" add (i), i);
setProperty ("/dna" add i, _rotation, getProperty("/dna" add (i-1), _rotation)+11);
setProperty ("/dna" add i, _x, getProperty("/dna" add (i-1), _x)+10);
}
setProperty ("/dna1", _visible, "0");
In the next keyframe give action
for(i=2; i <30; i = i+1)
{ setProperty ("/dna" add i, _rotation, getProperty("/dna" add i, _rotation) + 5);
}
And finally give the third keyframe gotoAndPlay (2); And that’s it.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|