Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Ivan Dembicki
Hello Alias, http://bezier.googlecode.com you need Bezier.setPoint method http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3 You can approximate circle arc using quadratic bezier - minimal number of curves for one circle is 8. Advanced drawing methods in Macromedia Flash MX:

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Hans Wichman
Hi, here is a simple one usig curveTo's to create a fluid line: http://objectpainters.com/blog/2007/07/18/drawing-using-controlpoints/ greetz JC On Mon, Aug 4, 2008 at 10:03 AM, Ivan Dembicki [EMAIL PROTECTED] wrote: Hello Alias, http://bezier.googlecode.com you need Bezier.setPoint method

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Hans Wichman
ok ignore that, i misread the question:) On Mon, Aug 4, 2008 at 11:22 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, here is a simple one usig curveTo's to create a fluid line: http://objectpainters.com/blog/2007/07/18/drawing-using-controlpoints/ greetz JC On Mon, Aug 4, 2008 at

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Alias Cummins
Thanks Ivan, What I needed was the maths to calculate the positions of the control points - found it here: Advanced drawing methods in Macromedia Flash MX: http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html Thanks, Alias 2008/8/4 Ivan Dembicki [EMAIL PROTECTED]: Hello

[Flashcoders] Drawing an arc with curveTo

2008-08-03 Thread Alias™
Hi guys, Can anyone point me towards some info on how to draw a proper curved arc in actionscript using curveTo? I've seen plenty of stuff about how to draw an arc using loads of short lines, but that isn't really going to cut it - I need this to be efficient and look good. I believe the crux of

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-03 Thread Ron Wheeler
Google actionscript bezier Lots of solutions come up. Ron Alias™ wrote: Hi guys, Can anyone point me towards some info on how to draw a proper curved arc in actionscript using curveTo? I've seen plenty of stuff about how to draw an arc using loads of short lines, but that isn't really going

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-03 Thread Ron Wheeler
Try having a look at this http://theolagendijk.wordpress.com/2006/08/18/flash-drawing-api-bezier/ Never used it but it looks well thought out. Ron Alias™ wrote: Hi guys, Can anyone point me towards some info on how to draw a proper curved arc in actionscript using curveTo? I've seen plenty of

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-03 Thread Mark Winterhalder
Hi Alias, I'm not sure I understand what you mean by 'arc' -- isn't anything you do with curveTo an arc? If that helps, I have some related code attached that I wrote a while ago. It's a bezier curve that you can drag directly to modify, i.e., not by moving the control point but holding on to