"Actionscript generated curves" are quadratic beziers. The angle is easy to get at the end points -- the (quadratic) bezier is defined by three points, one where you start and two that you pass to the curveTo method. By definition, the line defined by those two points is the tangent at the end point. Use Math.atan2 to get the angle, then rotate your clip accordingly.
HTH, Mark On Tue, Mar 16, 2010 at 5:02 PM, p...@ipauland.com <p...@ipauland.com> wrote: > I was recently asked if I could add some arrowheads to some actionscript > generated curves. I initially thought "Triangle pointing to end point", and > that > would be a great solution. I can place a MC at the end of the curve, but how > can > I get the right angle to point it to? > > Paul > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders