1. Open Flash by clicking on the Flash Icon on the dock:



  2. Create a new document. Make sure it is Actionscript 2



  3. Save (+SHIFT+S) document in work folder:



  4. Insert a new Symbol. Make it a movie clip symbol. Draw some shape. For mine, I drew a star.


  5. Open up the Properties window


  6. Drag an instance of your movie clip from the library on to the stage and name it in the Property window.



  7. Insert a new layer and name it actions




  8. Open the Actionscript window and set the variable counter to 0




  9. You want something to happen to the clip ( a Clip Event) every time the mouse moves
    count=0;
    //name of clip to move
    _______.onMouseMove=function(){
        startDrag(this,true);
         
    count++;
    //name of clip to move
    this.duplicateMovieClip(["_______"+count],count)
    _root["_______"+count]._x=this._x;
    _root["_______"+count]._y=this._y;
    //_root["_______"+count]._xscale=100-count*10;
    //_root["_______"+count]._yscale=100-count*10;
    myColor=new Color(_root["_______"+count]);
    
    myColor.setRGB(Math.random()*0xFFFFFF);
    if (count>20){
        count=0;
    }
        
    /*
    //if you wanted a random size
    randSize=Math.random()*(_root["_______"+count]._width);
    _root["_______"+count]._width=randSize;
    _root["_______"+count]._height=randSize;
    _root["_______"+count]._alpha=_root["_______"+count-1].alpha-10;
    */
    updateAfterEvent();
    }
    
    
    _______.onMouseUp=function(){
        stopDrag();
        for(x=21;x>0;x--){
            _root["_______"+x].removeMovieClip();
        }
    }
     



  10. Create more layers and create your own illustration.


  11. Save and publish