Angle of social

Hello

I got the value of an angle in degrees from a Slider, and I want the plotter as shown in the figure below but I can't!

angle.jpg

If you want to use moveTo/lineTo:

function drawAngleF(mc:MovieClip,color:uint,vertexX:int,vertexY:int,radius:int,angle:int):void {}

{with (MC. Graphics)}

lineStyle(0,color);

moveTo (vertexX, vertexY);

lineTo (vertexX + radius, vertexY);

moveTo (vertexX, vertexY);

lineTo (vertexX + radius * Math.cos (angle * Math.PI / 180), vertexY + radius * Math.sin (angle * Math.PI / 18 0));

}

}

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • How to get rid of a popup offering to remember my password that appears in the upper left corner?

    Yes, this popup is annoys me no end! It appears each time I fill in a password anywhere! It is more or less said: "Do you remember this password?". first of all I didn't know what program did this, but now I know that it is Mozilla Firefox. Why so ma

  • Satellite A110-162 - cannot play audio CDs

    My DVD-ROM cannot read an audio CD with data or not. If I put and audio CD with audio games or data on it always opens as if she was a Virgin there is

  • cRIO RT-query of the Windows host by vi Server

    We have an installation program using two RT chassis: a 9082 and a 9146. I was looking for a way to check the connectivity between a PC Win admin. Drew some code for each chassis FTP a file (or - rt.ini) and it works and check the connectivity. Think

  • standard Windows Vista

    I use windows Vista Home Basic... when I try to change basic windows to standard windows windows vista standard option is no longer available in the themes section, only vista basic and windows classic and standard... not sure when this past...  I ha

  • networked computers do not have do not transit working group

    Two systems running XP Pro connected by the router.  A system infected with the Trojan virus.  After cleaning the system scans with malwarebytes and security essentials.  Both systems can be crazy and respond properly, but do not appear in the networ