
{"id":2165,"date":"2015-04-13T11:18:04","date_gmt":"2015-04-13T10:18:04","guid":{"rendered":"http:\/\/www.matthijskamstra.nl\/blog\/?p=2165"},"modified":"2015-08-31T09:21:05","modified_gmt":"2015-08-31T08:21:05","slug":"navigatetourl-for-openfl","status":"publish","type":"post","link":"https:\/\/www.matthijskamstra.nl\/blog\/2015\/04\/13\/navigatetourl-for-openfl\/","title":{"rendered":"navigateToURL for Openfl"},"content":{"rendered":"<p>I have a Flash background.<br \/>\nAnd I notice that I first think (or Google) what would the code be in Flash and then try to convert it to Haxe\/Openfl<\/p>\n<p>Same with:<br \/>\n<code>&lt;a href=\"open-link-in-new-window\" target=\"_blank\"&gt;<\/code><\/p>\n<h2>AS3<\/h2>\n<p><code>var myURL:URLRequest = new URLRequest(\"open-link-in-new-window\");<br \/>\nnavigateToURL(myURL, \"_blank\");<\/code><\/p>\n<h2>Openfl<\/h2>\n<p><code>var myURL:URLRequest = new URLRequest(\"open-link-in-new-window\");<br \/>\nopenfl.Lib.getURL(myURL, \"_blank\");<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a Flash background. And I notice that I first think (or Google) what would the code be in Flash and then try to convert it to Haxe\/Openfl Same with: &lt;a href=&#8221;open-link-in-new-window&#8221; target=&#8221;_blank&#8221;&gt; AS3 var myURL:URLRequest = new URLRequest(&#8220;open-link-in-new-window&#8221;); navigateToURL(myURL, &#8220;_blank&#8221;); Openfl var myURL:URLRequest = new URLRequest(&#8220;open-link-in-new-window&#8221;); openfl.Lib.getURL(myURL, &#8220;_blank&#8221;);<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[360,385],"tags":[408,398,412,383],"class_list":["post-2165","post","type-post","status-publish","format-standard","hentry","category-haxe","category-openfl","tag-as3","tag-flash","tag-haxe","tag-openfl"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/2165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/comments?post=2165"}],"version-history":[{"count":5,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/2165\/revisions"}],"predecessor-version":[{"id":2250,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/posts\/2165\/revisions\/2250"}],"wp:attachment":[{"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/media?parent=2165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/categories?post=2165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.matthijskamstra.nl\/blog\/wp-json\/wp\/v2\/tags?post=2165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}