{"id":80,"date":"2008-11-03T00:10:19","date_gmt":"2008-11-03T07:10:19","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=45"},"modified":"2008-11-03T00:10:19","modified_gmt":"2008-11-03T07:10:19","slug":"displayobject-describetype","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=80","title":{"rendered":"DisplayObject describeType()"},"content":{"rendered":"<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\nfor each(var prop:String in describeType(DisplayObject).factory.accessor.@name){\r\n\ttrace(prop);\r\n}\r\n\/* outputs\r\nscaleY\r\nmouseX\r\nmouseY\r\nmask\r\nrotation\r\nalpha\r\ntransform\r\nblendMode\r\nx\r\nroot\r\nloaderInfo\r\nwidth\r\nz\r\nrotationX\r\nscale9Grid\r\nfilters\r\nrotationY\r\ny\r\nstage\r\nscaleZ\r\nparent\r\naccessibilityProperties\r\nscrollRect\r\nrotationZ\r\nheight\r\nname\r\nopaqueBackground\r\nblendShader\r\ncacheAsBitmap\r\nvisible\r\nscaleX\r\n*\/\r\n<\/pre>\n<p>I First saw describeType() at senocular&#8217;s <a href=\"http:\/\/www.kirupa.com\/forum\/showthread.php?t=223798\">AS3 Tip of the Day<\/a> on Kirupa. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>for each(var prop:String in describeType(DisplayObject).factory.accessor.@name){ trace(prop); } \/* outputs scaleY mouseX mouseY mask rotation alpha transform blendMode x root loaderInfo width z rotationX scale9Grid filters rotationY y stage scaleZ parent accessibilityProperties scrollRect rotationZ height name opaqueBackground blendShader cacheAsBitmap visible scaleX *\/ I First saw describeType() at senocular&#8217;s AS3 Tip of the Day on Kirupa.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,34],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-displayobject","category-xml"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/80","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=80"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}