{"id":136,"date":"2010-03-11T16:37:04","date_gmt":"2010-03-11T07:37:04","guid":{"rendered":"https:\/\/matsudapress.com\/?p=136"},"modified":"2010-03-11T16:37:04","modified_gmt":"2010-03-11T07:37:04","slug":"actionscript%e3%80%80%e3%83%91%e3%82%a4%e3%82%b0%e3%83%a9%e3%83%95%e4%b8%8a%e3%81%ab%e5%af%be%e8%b1%a1%e3%81%ae%e3%83%91%e3%83%bc%e3%82%bb%e3%83%b3%e3%83%86%e3%83%bc%e3%82%b8%e3%81%ae%e8%bc%89","status":"publish","type":"post","link":"https:\/\/matsudapress.com\/?p=136","title":{"rendered":"ActionScript\u3000\u30d1\u30a4\u30b0\u30e9\u30d5\u4e0a\u306b\u5bfe\u8c61\u306e\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u306e\u8f09\u305b\u308b\u30e1\u30e2"},"content":{"rendered":"<p>\u3082\u3046\u8133\u307f\u305d\u304c\u6570\u5b66\u8133\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u516c\u5f0f\u306a\u3069\u3092\u30e1\u30e2\u3002\u3002<br \/>\n[as3]<br \/>\n\trot_p = 0;\t\t\/\/ \u89d2\u5ea6\u3000\uff1d\u3000\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8<br \/>\n\thaba = R;\t\t\/\/ \u5e45<br \/>\n\trot_val_cnt = 0;<\/p>\n<p>\tfor(i=0;i<countMax;i++){\n\t\tobj=eval(\"output\"+i);\n\n\n\t\t\/\/\u3042\u308b\u91cf\u00f7\u5168\u4f53\u306e\u91cf\u00d7\uff11\uff10\uff10\n\t\trot_p = (xmlData[i].num \/ 100 * 360) ;\n\n\t\t\/\/\u524d\u56de\u306e\u4f4d\u7f6e\u306b\u84c4\u7a4d\n\t\trot_val_cnt = rot_val_cnt + rot_p;\n\n\t\ttrace(\"p_rot\" + rot_p);\n\n\t\t\/\/if(rot > 360)\trot -= 360;<\/p>\n<p>\t\trad = (rot_val_cnt &#8211; 90 &#8211; (rot_p \/2 )) * Math.PI \/ 180;<\/p>\n<p>\t\tobj._x = (centerX &#8211; 10) + Math.cos( rad ) * haba;<br \/>\n\t\tobj._y = (centerY &#8211; 10)+ Math.sin( rad ) * haba;<\/p>\n<p>[\/as3]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3082\u3046\u8133\u307f\u305d\u304c\u6570\u5b66\u8133\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u516c\u5f0f\u306a\u3069\u3092\u30e1\u30e2\u3002\u3002 [as3] r &hellip; <a href=\"https:\/\/matsudapress.com\/?p=136\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-136","post","type-post","status-publish","format-standard","hentry","category-1"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":0,"href":"https:\/\/matsudapress.com\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matsudapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}