RE: [Flashcoders] Drawing API

2007-07-25 Thread Holth, Daniel C.
They don't give code, but you may want to check out: http://www.adobe.com/designcenter/gallery/swf/index.html#u_sContent=odop od Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti Sent:

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-18 Thread Ash Warren
Thank you sooo much. It works perfectly! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Wednesday, July 18, 2007 12:26 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
This might be a better example: http://www.ashbrand.com/curveto_circle.swf I am using basically the same code however, please see below: /**/ this.pLine.beginFill (0xF0A0B9); var endX:Number, endY:Number;

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
Hi, my quick guess is, let the loop run from 0 to i controlPoints.length and do the lookup like this.controlPoints[ (i+1)%controlPoints.length ] Just a guess though, but I think that might be it. And then skip the last curveTo outside of the loop. greetz JC On 7/17/07, Ash Warren [EMAIL

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
(); /**/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Tuesday, July 17, 2007 2:55 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code and example

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
2:55 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside Hi, my quick guess is, let the loop run from 0 to i controlPoints.length and do the lookup like this.controlPoints[ (i+1)%controlPoints.length ] Just a guess though

RE: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Ash Warren
(); /**/ Thank you very much for your help. Ash -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Tuesday, July 17, 2007 4:24 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
, 2007 4:24 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside Hi, shouldnt thethis.pLine.moveTo (0,100); be control point based as well? greetz JC On 7/17/07, Ash Warren [EMAIL PROTECTED] wrote: Well that seemed

Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside

2007-07-17 Thread Hans Wichman
] On Behalf Of Hans Wichman Sent: Tuesday, July 17, 2007 4:24 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Drawing API :: curveTo assistance, code and example inside Hi, shouldnt thethis.pLine.moveTo (0,100); be control point based as well? greetz JC On 7/17/07