?
Solved

How to draw lines with mouse - Actionscript 3

Posted on 2009-02-16
2
Medium Priority
?
2,609 Views
Last Modified: 2013-11-11
I am trying to create a flash movie (AS3) that would allow the user to draw using his/her mouse but lines only. The user would click to set the start point of the line then as he/she moves the mouse around the line would move with the mouse until the user clicks again to set the end point. When the user clicks again a new line is created without deleting the previous one.

Would anyone have any pointers or tutorial to get me started? I was able to find some on how to hand draw but I am after drawing lines...

Thanks in advance for your help,
F
0
Comment
Question by:fdran
  • 2
2 Comments
 
LVL 11

Expert Comment

by:Eaddy Barnes
ID: 23655565
0
 
LVL 11

Accepted Solution

by:
Eaddy Barnes earned 2000 total points
ID: 23655611
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question