Joke Collection Website - News headlines - How to write in flash with mouse

How to write in flash with mouse

On (key "< delete >) {

_ root . pen . removemovieclip();

_ root . wr = 0;

}

Open (press) {

if(_root.wr==0){

_ root . wr = 1;

_ root . createemptymovieclip(" pen ", 100);

}

_ root . pen . line style(_ root . a 1,_root.a2,_ root . a3);

_root.pen.moveTo(_xmouse,_ y mouse);

timer 1 = setInterval(function(){

_root.pen.lineTo(_xmouse,_ y mouse);

},_root.a4)

}

Open (release) {

clear interval(timer 1);

}

The above is the drawing board (background) as the sentence on the clip. Press the Del key to clear the screen, and you can set the thickness, color, transparency and nib filtering time.

Note that _root.wr=0 is first defined on the main time axis.