Flash Tutorial - Drawing Application: Part 1 -

Loading...

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

Uploaded by on Dec 27, 2008

READ THE DESCRIPTION!
---------------------

Hey you guys, I know I haven't made a tutorial in a while, but I was busy. Okay so I was thinking on day, I really feel like drawing, but I couldn't find any paper or anything. This really made me want to make a drawing application or program or whatever you want to call it. I will be walking you all through on how to make one, although it would be good for you to subscribe, rate, and comment because for some reason it encourages me to make more tutorials. I hope you guys get great joy out of the tutorials I will be making. Again please subscribe, rate, and comment. If you subscribe to my videos, you will get updates for when the next tutorial comes out. As an example, I make a new video, then the day I do, if you go on Youtube LOGGED IN, only logged in will this work there is a little Subscriptions box, that will show my video to you the day I make it, but only if you subscribe. Commenting and rating just tell me how good I truly did, so please do all three of them. It's as easy as 1, 2, 3.

Code:

var createLine:Boolean = false;

this.onMouseDown = function() {
createLine = true;
if (createLine == true) {
this.createEmptyMovieClip("line", this.getNextHighestDepth());
line.moveTo(_root._xmouse, _root._ymouse);
}
}
this.onMouseMove = function() {
if (createLine == true) {
line.lineTo(_root._xmouse, _root._ymouse);
}
}
this.onMouseUp = function() {
createLine = false;
}
this.onEnterFrame = function() {
line.lineStyle(4, 0x000000);
}

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (FlashReknown)

  • hey i am currently working on something in flash and this will help a lot. so i was just wandering if i could put your name in the credits part of the flash thing i am making?

  • Chris James

  • one more thing. how do i stop it after going to another frame?

  • You say gotoAndStop instead of gotoAndPlay()

see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • Where is part 2

  • AS2? Lol

  • Hey, how can i make an automaticly clear when i have the click mouse up after a making line?

    I want to erase a line inmediatly

    It is a good tutorial, Thank you very much!!!!

  • @HaLO3gamer91

    Also you could write "stop();" on the actions window on the frame.

  • great tutorial. Have you done the one for making the border?

  • how do you learn these commands??

  • can u make an erase tool?

  • Hey! think ya could say how 2 make an eraser? that would be cool!

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