Flash CS 4 - How to paint with a pen (mouse controlled)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,540
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 31, 2010

Like the advertisement where u have to exit the labyrinth ;)
---------------------------------------CODE 1 :

createEmptyMovieClip("Line",1);
Line.lineStyle(4,0x000000,100);
onMouseDown = function ()
{ Line.moveTo(_xmouse, _ymouse); onMouseMove = function () { Line.lineTo(_xmouse, _ymouse);}
}

onMouseUp=function()
{ onMouseMove=null;
}

---------------------------------------CODE 2:

Mouse.hide();

---------------------------------------CODE 3:

onClipEvent(enterFrame) {
x=_root._xmouse
y=_root._ymouse
_x+=(x-_x)/3
_y+=(y-_y)/3
}

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (schreibmichab)

  • That point goes to u C= after all its my first vid on AS

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • For future videos... could you please stop calling it: "Flash CS4" but instead call it Actionscript 2.0, because it doesn't really matter what program you are using if you're just using Actionscript 2.0.

    Thank you :D

  • @stevemonkey78 yes there have a way to add a rubber

  • Is there a way to add a rubber

  • do you know how to do different colors?

  • I wanna ask if i use actionscript 3.0, what can i do?

    It's because I need to use actionscipt 3.0 for my work instead of 2.0.

    When i use 3.0 to type the code, i got the 1087 Syntax error ..

    It's something wrong with the "onClipEvent(enterFrame)".

    What can I do? Please help..

  • DUDE how u get that mouse clicker! i been looking for it for years

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more