[font=Georgia]I need to to incorporate a functionality where the user can use his mouse to draw a rectangle by dragging his mouse over the canvas - much like the Rectangle Drawing Tool in the Flash Authoring environment. The requirement is something like a rubberband tool where the user can define a portion of a map by drawing a rectangle over it. The coordinates needs to be captured. Can anyone help me with the actionscript.[/font]
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Drawing API - Draw rectangle by dragging mouse on canvas | 0 | 84 | May 10, 2005 | |
Click and drag draw a rectangle
|
0 | 108 | October 27, 2010 | |
Draw a rectangle? | 0 | 65 | October 10, 2005 | |
Drawing api rectangle stretching problem
|
0 | 109 | May 19, 2009 | |
Drawing API
|
0 | 47 | November 25, 2008 |