{"id":166,"date":"2009-01-24T00:00:17","date_gmt":"2009-01-24T07:00:17","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=585"},"modified":"2009-01-24T00:00:17","modified_gmt":"2009-01-24T07:00:17","slug":"zenos-classic-easeout","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=166","title":{"rendered":"Zeno&#8217;s [classic easeOut]"},"content":{"rendered":"<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nstage.frameRate = 30;\r\nvar circle:Shape = Shape(addChild(new Shape()));\r\nwith(circle.graphics) beginFill(0x000000), drawCircle(0,0,10);\r\ncircle.y = 50;\r\n\r\naddEventListener(Event.ENTER_FRAME, onLoop);\r\nfunction onLoop(evt:Event):void {\r\n\tcircle.x += (mouseX - circle.x) \/ 12;\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>stage.frameRate = 30; var circle:Shape = Shape(addChild(new Shape())); with(circle.graphics) beginFill(0x000000), drawCircle(0,0,10); circle.y = 50; addEventListener(Event.ENTER_FRAME, onLoop); function onLoop(evt:Event):void { circle.x += (mouseX &#8211; circle.x) \/ 12; }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,37],"tags":[3,4],"class_list":["post-166","post","type-post","status-publish","format-standard","hentry","category-motion","category-one-liners","tag-actionscript","tag-flash"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=166"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/166\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}