{"id":28,"date":"2008-07-26T13:10:31","date_gmt":"2008-07-26T17:10:31","guid":{"rendered":"http:\/\/www.mrsunstudios.com\/?p=28"},"modified":"2022-05-29T08:23:39","modified_gmt":"2022-05-29T12:23:39","slug":"basic-vector-manipulation","status":"publish","type":"post","link":"http:\/\/www.mrsunstudios.com\/blog\/flash\/basic-vector-manipulation\/","title":{"rendered":"Basic Vector Manipulation"},"content":{"rendered":"<p>A beginner\u2019s tutorial that I made a while ago<\/p>\n<p>Don\u2019t be scared by the title, it just means that today, we are going to learn some basic techniques on how to <strong>easily edit<\/strong> the vector shapes that you create. If you didn\u2019t know, vector shapes are what Flash uses instead of bitmap images. This means that the angles and lines are <strong>calculated by math<\/strong>, so that no matter how far you zoom in, the lines will always be <strong>smooth<\/strong>. But for now, you shouldn\u2019t have to worry about that information.<\/p>\n<p>So first, just like in my other tutorials, let us draw a shape. For now, we\u2019re going to draw a square.<br \/>\n<img src=\"..\/obj\/img\/tuts\/basic_vector_manipulation\/i1_square.gif\" alt=\"My Square\" \/><\/p>\n<p>The first technique that I\u2019m going to show you is <strong>curving the edges<\/strong>. When you hover your cursor over the edge of the square, you should see a <strong>curved line<\/strong> under it, indicating that you can manipulate the curve of the line. If you <strong>click and drag<\/strong> your cursor, then the edge of the square should <strong>curve<\/strong> depending on where you move your mouse. When you release the mouse, you should end up with a curve in your shape.<br \/>\n<img src=\"..\/obj\/img\/tuts\/basic_vector_manipulation\/i2_curve.gif\" alt=\"The outcome of curving the edges\" \/><br \/>\nPretty nifty, no? I cannot tell you how much this tool has helped me in the past, so I won\u2019t, and I\u2019ll leave it to you whether or not you wish to use it.<\/p>\n<p>The next technique is <strong>creating a new anchor point<\/strong>. This simply means that if we start off with a square, we are going to end up with a pentagon, by adding a new anchor point somewhere. This process is very similar to the one above. On that same square, hover your mouse over a side that you haven\u2019t touched yet. This time, <strong>hold the control key<\/strong> and <strong>click<\/strong>. If you drag your mouse around, there should be a small right angle, indicating that you are creating a new point. If you let go, you should end up with a new point! Here is what I came out with:<br \/>\n<img src=\"..\/obj\/img\/tuts\/basic_vector_manipulation\/i3_new_anchor.gif\" alt=\"The outcome of adding a new point\" \/><\/p>\n<p>Well, there you go. Those are just two of the many tricks in Flash that will make your life a lot easier. Thank you for reading my tutorial!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A beginner\u2019s tutorial that I made a while ago Don\u2019t be scared by the title, it just means that today, we are going to learn some basic techniques on how to easily edit the vector shapes that you create. If you didn\u2019t know, vector shapes are what Flash uses instead of bitmap images. This means [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,4],"tags":[14,11,61],"_links":{"self":[{"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/posts\/28"}],"collection":[{"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/comments?post=28"}],"version-history":[{"count":2,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions"}],"predecessor-version":[{"id":55,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/posts\/28\/revisions\/55"}],"wp:attachment":[{"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/media?parent=28"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/categories?post=28"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mrsunstudios.com\/blog\/wp-json\/wp\/v2\/tags?post=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}