Drawing lines in Flash
- Started
- Last post
- 5 Responses
- REDWOOD
Hi all
Does anyone ever solved the next problem? I'm trying to handle the properties of the next line "_root.createEmptyMovieClip(this...
this.lineStyle (1, 0x000000, 10);"!!! without working on the scaling properties but direct on the line itselfs, or isn't it possible? Thnx
- unfittoprint0
something like:
this.createEmptyMovieClip( "myMC", 2);
with ( myMC )
{
lineStyle( 5, 0xFF0000, 100 );
moveTo( 200, 200 );
lineTo( 300,300 );
lineTo( 100, 300 );
lineTo( 200, 200 );
}
- REDWOOD0
yeah, kind off i only need to animate the lines, but the are automatically duplicated and it shouldn't but anyway thnx unfittoprint it helps me a lot
- JamesEngage0
Yuo can actually animate the lines... rather, you draw them on the canvas, and then clear the canvas and then draw them again.
If that makes sense!
- REDWOOD0
but there isn't a possibility to play with the line ends (by dragging them for example) without redrawing the lines on the stage?
- JamesEngage0
yuo can emulate them being dragged... after all you are just dealing with points in virtual 2D space