{"id":1279,"date":"2010-02-09T16:21:57","date_gmt":"2010-02-09T14:21:57","guid":{"rendered":"http:\/\/fdt.powerflasher.com\/blog\/?p=1279"},"modified":"2011-09-30T06:47:24","modified_gmt":"2011-09-30T13:47:24","slug":"targeting-fp-10-1-beta-2-with-fdt-3-5","status":"publish","type":"post","link":"https:\/\/fdt.powerflasher.com\/blog\/2010\/02\/targeting-fp-10-1-beta-2-with-fdt-3-5\/","title":{"rendered":"Targeting FP 10.1 beta 2 with FDT 3.5"},"content":{"rendered":"<img src='https:\/\/fdt.powerflasher.com\/blog\/wp-content\/uploads\/2010\/02\/Bildschirmfoto-2010-02-09-um-15.11.09.png' alt='' width='314' height='63' \/>\n<p>I&#8217;ve just tried to compile my first project targeting Flash Player 10.1 with the latest FDT version 3.5.<br \/>\nIt&#8217;s very simple to set it up, I&#8217;ve done it in about 10 minutes so here&#8217;s a quick tutorial on how to get started with 10.1 beta 2.<\/p>\n<p>The summary first:<\/p>\n<ol>\n<li>Download a fresh new Flex SDK<\/li>\n<li>Patch the playerglobal.swc with the new one<\/li>\n<li>Add the new SDK to FDT<\/li>\n<\/ol>\n<p>In depth:<\/p>\n<ol>\n<li><a href=\"http:\/\/labs.adobe.com\/downloads\/flashplayer10.html\" target=\"_blank\">Download<\/a> and install Flash Player 10.1 beta 2<\/li>\n<li>Download a new Flex SDK from <a href=\"http:\/\/opensource.adobe.com\/wiki\/display\/flexsdk\/Download+Flex+3\" target=\"_blank\">here<\/a>, I&#8217;ve chosen the latest 3.4 stable build<\/li>\n<li>Download the new core library (playerglobal.swc) for FP 10.1 <a href=\"http:\/\/download.macromedia.com\/pub\/labs\/flashplayer10\/flashplayer10_globalswc.zip\">here<\/a><\/li>\n<li>Now replace the old playerglobal.swc located here in your downloaded Flex SDK:\u00a0\/frameworks\/libs\/player\/10\/playerglobal.swc with the new downloaded FP 10.1 playerglobal.swc<\/li>\n<li>In FDT 3.5 go to Preferences&gt;FDT&gt;Core Libraries&gt;AS3 Core Libraries and click &#8220;Add&#8230;&#8221;<\/li>\n<li>As &#8220;Type&#8221; use &#8220;Flex 3 SDK for FP 10&#8221; give it a name and click the &#8220;Browse&#8221; and then &#8220;New&#8221; button to add your new patched Flex SDK.<\/li>\n<\/ol>\n<p>That&#8217;s all for setting everything up. Now create a new Flash Project:<\/p>\n<ol>\n<li>New &gt; New Flash Project<\/li>\n<li>In the SDK drop down menu choose the one you&#8217;ve added earlier.<\/li>\n<li>Create a Main class and derive it from Sprite<\/li>\n<li>In the constructor I&#8217;ve added this line of code to check if everything is working: trace(Acceleromter.isSupported);<\/li>\n<li>Right click your Main class and Debug it as AS3 Application<\/li>\n<\/ol>\n<p>Everything should compile properly now and you should see the trace output (&#8220;false&#8221; on my MacBook Pro&#8230; hmm&#8230; is that correct? Every MBP has an integrated accelerometer. Weird isn&#8217;t it? Who has an answer?). Additionally you can add the -target-player=10.1.0 compiler argument to your launch configuration.<\/p>\n<p>Happy 10.1 coding everybody,<br \/>\nMichael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve just tried to compile my first project targeting Flash Player 10.1 with the latest FDT version 3.5. It&#8217;s very simple to set it up, I&#8217;ve done it in about 10 minutes so here&#8217;s a quick tutorial on how to get started with 10.1 beta 2. The summary first: Download a fresh new Flex SDK [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,12],"tags":[],"_links":{"self":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/1279"}],"collection":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/comments?post=1279"}],"version-history":[{"count":1,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions"}],"predecessor-version":[{"id":6125,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/1279\/revisions\/6125"}],"wp:attachment":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/media?parent=1279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/categories?post=1279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/tags?post=1279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}