Ask a Question related to Macromedia Flash, Design and Development.
-
Theo Kleuskens #1
drawing line with actionscript
Can someone tell me please how I can draw a line with actionscript that
grows longer but not wider.
For example from coordinate 0,0 to 200,400.
Theo Kleuskens Guest
-
Drawing Quadratic Equation with ActionScript
Hi, Can anyone tell me how to draw a simple quadratic equation with dynamically using actionscript? Many thanks in advance, Peder, Ottawa,... -
3d line drawing
What would be the best way to draw a free 3d spline inside the 3d world using a keyboard input (or any other input that allows accurate 3d... -
How is this done?? Line drawing.
Hi, I have recently started dabbling with Flash and I came across this site: www.caststoneuk.co.uk I really like the effect of the lines being... -
drawing a vector line
can someone suggest the best way to draw a line between a point and the mouseloc (mouse moving). Using vectors in flash is perfect but I want to... -
drawing a straight line!!! IS THIS ACTUALLY POSSIBLE??
don't use the shift key, and drag the line out by hand, check that the top and bottom rect points are only 1 pixel apart and you will have a... -
Martin Voegeli, vom #2
Re: drawing line with actionscript
Theo Kleuskens wrote:
Let's say you want to draw that line into the _root clip (remember the> Can someone tell me please how I can draw a line with actionscript
> that grows longer but not wider.
> For example from coordinate 0,0 to 200,400.
point of origin is in the upper left corner):
// set the line style (5 pixel, red, 25% opacity)
_root.lineStyle(5, 0xFF0000, 25);
// move the "pencil" to the start position (x, y)
_root.moveTo(0, 0);
// draw the line (from the start position)
_root.lineTo(200, 400);
More information about lineTo():
[url]http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary536.html[/url]
Best wishes, Martin ;) * [url]http://birdy1976.com/[/url] * ICQ# 237743398
Martin Voegeli, vom Guest



Reply With Quote

