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.
- Previous article:Advertising language of insurance company
- Next article:Can't I eat vegetables with pesticides? What will happen if you eat it?
- Related articles
- The practice of stir-frying prawns
- What can we learn from the Winter Olympics directly from the Asian Games?
- How much do you know about HR's "workplace slang"?
- The speech of my motherland in my heart, more than 250 words.
- The Origin of Hongze Lake Chili Sauce Legend
- Yang Minggu from Dunhua Experimental Middle School
- Quotations about the Young Pioneers and the red scarf
- What is the significance of adopting a tree?
- King of Glory Chen He’s name
- Forest propaganda slogan