{"id":876,"date":"2011-03-31T18:27:47","date_gmt":"2011-03-31T09:27:47","guid":{"rendered":"http:\/\/hangunsworld.com\/blog\/?p=876"},"modified":"2011-03-31T18:27:47","modified_gmt":"2011-03-31T09:27:47","slug":"kinetic-scrolling-experiment-3","status":"publish","type":"post","link":"http:\/\/hangunsworld.com\/blog\/876","title":{"rendered":"Kinetic scrolling experiment 3."},"content":{"rendered":"<p>\uc138 \ubc88\uc9f8\ub85c \ub9cc\ub4e0 \ud0a4\ub124\ud2f1 \uc2a4\ud06c\ub864 \uc0d8\ud50c. \ubc84\uadf8 \uc218\uc815 \ubc0f \ud50c\ub9ac\ud0b9 \uac10\ub3c4 \uc870\uc808 \ub4f1 \uc218\uc815\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p><script language=\"JavaScript\">insertFlashObject(\"\/blog\/wp-content\/uploads\/2011\/03\/kineticScrolling.swf\", 600, 400)<\/script><\/p>\n<p>\ub2e4\uc74c \ucf54\ub4dc\uc640 \uac19\uc774 \ucd5c\ub300\ud55c \uac04\ub2e8\ud788 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4dc\ub294 \uc911&#8230;&#8230;<\/p>\n<pre lang=\"actionscript3\">var flicking0:KineticScroll = new KineticScroll();\r\nflicking0.setTarget(mc0, 0, 400);<\/pre>\n<p>\ubb3c\ub860 2,3\ubc88\uc9f8 \ub864\ub9c1 \ud6a8\uacfc\uac19\uc774 \ubd80\uac00\uc801\uc778 \uae30\ub2a5\ub4e4\uc744 \uc801\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ucf54\ub4dc\ub97c \ub354 \ucd94\uac00\ud574 \uc8fc\uc5b4\uc57c \ud558\uc8e0.<\/p>\n<pre lang=\"actionscript3\">var flicking2:EndlessKineticScroll = new EndlessKineticScroll();\r\nflicking2.addEventListener(KineticScrollEvent.UPDATE, flickingListener2);\r\nflicking2.setTarget(mc2);\r\n\r\nfunction flickingListener2(e:KineticScrollEvent):void{\r\n\tvar ty:Number = -int(mc2.y \/ HEIGHT + 1);\r\n\tvar sq:ListItem;\r\n\tfor(var i:uint=0; i<CNT; i++){\r\n\t\tsq = mc2[\"m\" + ((i + (ty % CNT) + CNT) % CNT)] as ListItem;\r\n\t\tsq.y = (ty * HEIGHT) + (HEIGHT * i);\r\n\t\tsq.setData( \"Data \" + (((ty + i) % MAX + MAX) % MAX) );\r\n\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc138 \ubc88\uc9f8\ub85c \ub9cc\ub4e0 \ud0a4\ub124\ud2f1 \uc2a4\ud06c\ub864 \uc0d8\ud50c. \ubc84\uadf8 \uc218\uc815 \ubc0f \ud50c\ub9ac\ud0b9 \uac10\ub3c4 \uc870\uc808 \ub4f1 \uc218\uc815\uc774 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \ucf54\ub4dc\uc640 \uac19\uc774 \ucd5c\ub300\ud55c \uac04\ub2e8\ud788 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub9cc\ub4dc\ub294 \uc911&#8230;&#8230; var flicking0:KineticScroll = new KineticScroll(); flicking0.setTarget(mc0, 0, 400); \ubb3c\ub860 2,3\ubc88\uc9f8 \ub864\ub9c1 \ud6a8\uacfc\uac19\uc774 \ubd80\uac00\uc801\uc778 \uae30\ub2a5\ub4e4\uc744 \uc801\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ucf54\ub4dc\ub97c \ub354 \ucd94\uac00\ud574 \uc8fc\uc5b4\uc57c \ud558\uc8e0. var flicking2:EndlessKineticScroll = new EndlessKineticScroll(); flicking2.addEventListener(KineticScrollEvent.UPDATE, flickingListener2); flicking2.setTarget(mc2); function [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[139,338,337],"class_list":["post-876","post","type-post","status-publish","format-standard","hentry","category-as3","tag-actionscript-30","tag-flick-list","tag-kinetic-scrolling"],"_links":{"self":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/comments?post=876"}],"version-history":[{"count":1,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/876\/revisions"}],"predecessor-version":[{"id":878,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/posts\/876\/revisions\/878"}],"wp:attachment":[{"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/media?parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/categories?post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hangunsworld.com\/blog\/wp-json\/wp\/v2\/tags?post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}