{"id":434,"date":"2009-11-04T18:46:42","date_gmt":"2009-11-05T01:46:42","guid":{"rendered":"https:\/\/actionsnippet.com\/?p=2355"},"modified":"2009-11-04T18:46:42","modified_gmt":"2009-11-05T01:46:42","slug":"post-your-interface","status":"publish","type":"post","link":"https:\/\/actionsnippet.com\/?p=434","title":{"rendered":"Paste Your Interface"},"content":{"rendered":"<p>Are you working on something right now that makes use of interfaces? Copy and paste an interface into the comments of this post (no need for code tags or anything)&#8230;.<\/p>\n<pre class=\"brush: as3; title: ; notranslate\" title=\"\">\r\npackage app{\r\n\t\r\n\timport flash.events.IEventDispatcher;\r\n\t\r\n\tpublic interface IBaseModel extends IEventDispatcher{\r\n\t\t\r\n\t\tfunction set decimal(val:int):void;\r\n\t\r\n\t\tfunction get decimal():int ;\r\n\t\t\r\n\t\tfunction get stringValue():String; \r\n\t\t\r\n\t\tfunction get errorMessage():String;\r\n\t\t\r\n\t\tfunction set base(val:int):void;\r\n\t\t\r\n\t\tfunction get base():int;\r\n\t\t\r\n\t\tfunction startCounting(interval:Number, changeBy:Number):void;\r\n\t\t \r\n\t\tfunction stopCounting():void;\r\n\t}\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Are you working on something right now that makes use of interfaces? Copy and paste an interface into the comments of this post (no need for code tags or anything)&#8230;. package app{ import flash.events.IEventDispatcher; public interface IBaseModel extends IEventDispatcher{ function set decimal(val:int):void; function get decimal():int ; function get stringValue():String; function get errorMessage():String; function set base(val:int):void; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,2],"tags":[3,14,4],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-misc","category-oop","tag-actionscript","tag-as3","tag-flash"],"_links":{"self":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/434","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=434"}],"version-history":[{"count":0,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=\/wp\/v2\/posts\/434\/revisions"}],"wp:attachment":[{"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actionsnippet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}