# Dandelion Script

**URL:** <https://forum.kirupa.com/t/dandelion-script/245179>\
**Category:** Uncategorized\
**Created:** [November 27, 2007, 6:59am UTC](https://forum.kirupa.com/t/dandelion-script/245179 "2007-11-27T06:59:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![james182](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@james182](https://forum.kirupa.com/u/james182)\
**Post date:** [November 27, 2007, 6:59am UTC](https://forum.kirupa.com/t/dandelion-script/245179/1 "2007-11-27T06:59:19Z")

</div>

ok, i am wondering if anyone can help me out in need to code up a dandelion blowing in the wind and then has its seeds blow away.

Any help?

This is my script to create the head but i’m stuck from here.

```php

var cx = 57;
var cy = -177;
var num = 8;
var dl;
function createHead() {
    dl = new Array();
    var angle = 360/num;
    for (i=0; i<num; i++) {
        dl.push(seedA.duplicateMovieClip('seedA'+i, i, {_x:cx, _y:cy, _rotation:i*angle}));
    }
}

```
