{"id":93,"date":"2008-11-14T00:00:25","date_gmt":"2008-11-14T07:00:25","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=139"},"modified":"2008-11-14T00:00:25","modified_gmt":"2008-11-14T07:00:25","slug":"new-sprite-one-liner","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=93","title":{"rendered":"new Sprite() One-liner"},"content":{"rendered":"<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nvar s:Sprite = Sprite(addChild(new Sprite()));\r\n<\/pre>\n<p>A way to make a new sprite, add it to the display list and store a reference to it. <\/p>\n<p>Figured this out on my own&#8230; but have since seen it around on a few flash blogs here and there&#8230; thought it deserved a post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>var s:Sprite = Sprite(addChild(new Sprite())); A way to make a new sprite, add it to the display list and store a reference to it. Figured this out on my own&#8230; but have since seen it around on a few flash blogs here and there&#8230; thought it deserved a post.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,37],"tags":[56],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-instantiation","category-one-liners","tag-casting"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/93","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=93"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}