{"id":235,"date":"2010-07-15T10:18:05","date_gmt":"2010-07-15T08:18:05","guid":{"rendered":"http:\/\/blog.ansuz.nl\/?p=235"},"modified":"2010-07-15T10:59:24","modified_gmt":"2010-07-15T08:59:24","slug":"some-things-are-null-on-win-but-not-on-mac","status":"publish","type":"post","link":"http:\/\/blog.ansuz.nl\/index.php\/2010\/07\/15\/some-things-are-null-on-win-but-not-on-mac\/","title":{"rendered":"Some things are null on Win, but not on Mac"},"content":{"rendered":"<div id=\"ig-sh-1\" class=\"syntax_hilite\">\n\n\t\t<div class=\"toolbar\">\n\n\t\t<div class=\"view-different-container\">\n\t\t\t\t\t\t<a href=\"#\" class=\"view-different\">&lt; View <span>plain text<\/span> &gt;<\/a>\n\t\t\t\t\t<\/div>\n\n\t\t<div class=\"language-name\">ActionScript<\/div>\n\n\t\t\n\t\t<br clear=\"both\">\n\n\t<\/div>\n\t\n\t<div class=\"code\">\n\t\t<ol class=\"actionscript\" style=\"font-family:monospace\"><li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #000000;font-weight: bold\">var<\/span> myArray:<span style=\"color: #0066CC\">Array<\/span> = <span style=\"color: #000000;font-weight: bold\">new<\/span> <span style=\"color: #0066CC\">Array<\/span><span style=\"color: #66cc66\">&#040;<\/span><span style=\"color: #000000;font-weight: bold\">new<\/span> SomeObject<span style=\"color: #66cc66\">&#040;<\/span><span style=\"color: #66cc66\">&#041;<\/span>, <span style=\"color: #000000;font-weight: bold\">new<\/span> SomeObject<span style=\"color: #66cc66\">&#040;<\/span><span style=\"color: #66cc66\">&#041;<\/span>, <span style=\"color: #000000;font-weight: bold\">new<\/span> SomeObject<span style=\"color: #66cc66\">&#040;<\/span><span style=\"color: #66cc66\">&#041;<\/span><span style=\"color: #66cc66\">&#041;<\/span>;<\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #808080;font-style: italic\">\/\/ true on Win, false on Mac<\/span><\/div><\/li>\n<li style=\"font-weight: normal;vertical-align:top\"><div style=\"font: normal normal 1em\/1.2em monospace;margin:0;padding:0;background:none;vertical-align:top\"><span style=\"color: #0066CC\">trace<\/span><span style=\"color: #66cc66\">&#040;<\/span>myArray<span style=\"color: #66cc66\">&#091;<\/span><span style=\"color: #cc66cc\">3<\/span><span style=\"color: #66cc66\">&#093;<\/span> == <span style=\"color: #000000;font-weight: bold\">null<\/span><span style=\"color: #66cc66\">&#041;<\/span>;<\/div><\/li>\n<\/ol>\t<\/div>\n\n<\/div>\n\n<p>Such fun those little differences in the Flash Player! \ud83d\ude42<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>&lt; View plain text &gt; ActionScript var myArray:Array = new Array&#040;new SomeObject&#040;&#041;, new SomeObject&#040;&#041;, new SomeObject&#040;&#041;&#041;; \/\/ true on Win, false on Mac trace&#040;myArray&#091;3&#093; == null&#041;; Such fun those little differences in the Flash Player! \ud83d\ude42<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-actionscript-30"],"_links":{"self":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":3,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":238,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/posts\/235\/revisions\/238"}],"wp:attachment":[{"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.ansuz.nl\/index.php\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}