{"id":51,"date":"2008-01-18T21:55:00","date_gmt":"2008-01-18T20:55:00","guid":{"rendered":"http:\/\/www.crydust.be\/blog\/2008\/01\/18\/air-afterhours\/"},"modified":"2008-01-19T19:56:07","modified_gmt":"2008-01-19T18:56:07","slug":"air-afterhours","status":"publish","type":"post","link":"https:\/\/www.crydust.be\/blog\/2008\/01\/18\/air-afterhours\/","title":{"rendered":"AIR afterhours"},"content":{"rendered":"<p>I&#8217;ve been to a great afterhours session about AIR with <a href=\"http:\/\/www.peterelst.com\">Peter Elst<\/a>. He&#8217;s writing a book on the subject so obviously there was lots he had to teach. He covered the windowing, file, dragdrop, sqlite and upgrade apis. This was a bring-your-own-laptop session so all the people present were experimenting with the code. We found a few oddities that you usually learn the hard way.<\/p>\n<p>FileFilter behaves differently on mac and windows. On windows the extension parameter must start with an asterisk &quot;*.html&quot;, on mac both &quot;*.html&quot; and &quot;.html&quot; seem to work.<\/p>\n<p>Creating and manipulating NativeWindows works great, but adding flex components to the stage of a new NativeWindow doesn&#8217;t seem to work. <a href=\"http:\/\/www.danieldura.com\/archive\/apollo-multi-window-support-using-flex\">Daniel Dura<\/a> had a workaround for this, but that doesn&#8217;t seem to work anymore.<\/p>\n<p>He gifted a few books at the end. ActionScript 3.0 Design Patterns is now mine. Thanks Peter!<\/p>\n<p><b>Update:<\/b> Peter has remembered how to use <a href=\"http:\/\/www.peterelst.com\/blog\/2008\/01\/19\/multimediacollege-afterhours\/\">mx.core.Window<\/a> as a a native window.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been to a great afterhours session about AIR with Peter Elst. He&#8217;s writing a book on the subject so obviously there was lots he had to teach. He covered the windowing, file, dragdrop, sqlite and upgrade apis. This was &hellip; <a href=\"https:\/\/www.crydust.be\/blog\/2008\/01\/18\/air-afterhours\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,3],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-air","category-flex"],"_links":{"self":[{"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.crydust.be\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}