{"id":297,"date":"2009-05-27T15:34:11","date_gmt":"2009-05-27T22:34:11","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=1447"},"modified":"2009-05-27T15:34:11","modified_gmt":"2009-05-27T22:34:11","slug":"mousecursor","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=297","title":{"rendered":"Mouse.cursor"},"content":{"rendered":"<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nvar count:int = 0;\r\nvar cursors:Array = &#x5B;MouseCursor.ARROW, MouseCursor.BUTTON, MouseCursor.HAND, MouseCursor.IBEAM];\r\nsetInterval(changeMouse, 100);\r\nfunction changeMouse():void{\r\n\tMouse.cursor = cursors&#x5B;count % cursors.length];\r\n\tcount++;\r\n}\r\n<\/pre>\n<p>This is a small snippet that shows the cursor property of the Mouse class. This is fp10 only&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>var count:int = 0; var cursors:Array = &#x5B;MouseCursor.ARROW, MouseCursor.BUTTON, MouseCursor.HAND, MouseCursor.IBEAM]; setInterval(changeMouse, 100); function changeMouse():void{ Mouse.cursor = cursors&#x5B;count % cursors.length]; count++; } This is a small snippet that shows the cursor property of the Mouse class. This is fp10 only&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98],"tags":[3,4],"class_list":["post-297","post","type-post","status-publish","format-standard","hentry","category-ui","tag-actionscript","tag-flash"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/297","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=297"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/297\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}