# The DNA effect

**URL:** <https://forum.kirupa.com/t/the-dna-effect/108396>\
**Category:** Uncategorized\
**Created:** [April 24, 2004, 8:35pm UTC](https://forum.kirupa.com/t/the-dna-effect/108396 "2004-04-24T20:35:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![denacioust](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@denacioust](https://forum.kirupa.com/u/denacioust)\
**Post date:** [April 24, 2004, 8:35pm UTC](https://forum.kirupa.com/t/the-dna-effect/108396/1 "2004-04-24T20:35:59Z")

</div>

_Taken from [http://flashbox.proboards15.com](http://flashbox.proboards15.com) (my site)_  
Creating the DNA effect like in the FlashBox banner.

Create an object like the one shown below.Give it an instance name of dna1

You can use any colours but the colours I used are as follows:  
A radial gradient set with colours from left to right:  
255.255.255 at alpha 100%  
255,255,200 at alpha 50%  
255,255,255 at alpha 100%  
243,126,12 at alpha 40%  
255,255,255 at alpha 0%  
Now create a layer and name it actions. In the first keyframe give action:

```auto

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

```auto
gotoAndPlay (2);

```

And that’s it.  
Note this is not what I have in my own sig it is a much more simplistic version of it.
