{"id":4428,"date":"2011-04-08T12:06:27","date_gmt":"2011-04-08T12:06:27","guid":{"rendered":"http:\/\/fdt.powerflasher.com\/blog\/?p=4428"},"modified":"2011-09-30T08:48:11","modified_gmt":"2011-09-30T15:48:11","slug":"get-your-fdt-ready-for-molehill","status":"publish","type":"post","link":"https:\/\/fdt.powerflasher.com\/blog\/2011\/04\/get-your-fdt-ready-for-molehill\/","title":{"rendered":"Get your FDT ready for molehill"},"content":{"rendered":"<img src='https:\/\/fdt.powerflasher.com\/blog\/wp-content\/uploads\/2011\/04\/FDT-Molehill02-440x183.png' alt='' width='440' height='183' \/>\n<p>We like to show you how you can easily configure FDT to use Flashplayer 11 with the new Molehill features. Therefor we created a FDT project template to minimize your efforts.<\/p>\n<p><strong>1. You will have to download the following files<\/strong><\/p>\n<ul>\n<li><a title=\"Flash Player 11 Incubator\" href=\"http:\/\/labs.adobe.com\/downloads\/flashplatformruntimes_incubator.html\" target=\"_blank\">Download<\/a> Flash Player 11 Incubator build<\/li>\n<li><a title=\"Flex 4.5.0.19768\" href=\"http:\/\/fpdownload.adobe.com\/pub\/flex\/sdk\/builds\/flexhero\/flex_sdk_4.5.0.19786.zip\" target=\"_blank\">Download<\/a> Flex SDK build 4.5.0.19768<\/li>\n<li><a title=\"playerglobal.swc\" href=\"http:\/\/download.macromedia.com\/pub\/labs\/flashplatformruntimes\/incubator\/flashplayer_inc_playerglobal_022711.swc\" target=\"_self\">Download<\/a> playerglobal.swc<\/li>\n<li><a title=\"Molehill Incubator Template\" href=\"http:\/\/blog.powerflasher.de\/wp-content\/uploads\/2011\/04\/molehillIncubator.zip\" target=\"_self\">Download<\/a> FDT 4 Molehill Project Template<\/li>\n<\/ul>\n<p><strong>2. Install Flash Player 11<\/strong><\/p>\n<p>Before you install the Flash Player 11 Incubator, you should first run the <a title=\"Adobe Labs\" href=\"http:\/\/labs.adobe.com\/downloads\/flashplatformruntimes_incubator.html\" target=\"_blank\">uninstaller<\/a> provided by Adobe. Then install the incubator build.<\/p>\n<p><strong>3. Patch the Flex SDK<\/strong><\/p>\n<p>By default the Flex SDK does not support Flash Player 11. Therefor you have to tweak the SDK a little by replacing the playerglobal.swc manually in the folder frameworks\/libs\/player\/10.2.<br \/>\nYou may should backup the previous playerglobal.swc first.<\/p>\n<p><img src='https:\/\/fdt.powerflasher.com\/blog\/wp-content\/uploads\/2011\/04\/playerglobal-440x219.png' alt='' width='440' height='219' \/><br \/>\n<strong><br \/>\nNote<\/strong>: Because the\u00a0 Flex SDK 4.5.0.19786 comes without a flex.swc, it is recommended to copy flex.swc from another Flex SDK 4.x to \/frameworks\/libs.<\/p>\n<p><strong>4. Setup the new SDK in FDT<\/strong><\/p>\n<p>The integration into FDT is easily done by a\u00a0 few clicks: Go to <em>Preferences&gt; FDT&gt; Installed SDKs&gt; Add<\/em> and point FDT to the SDK you just created. Name it something like &#8216;Flex 4.5 FP 11 Incubator&#8217;<\/p>\n<img src='https:\/\/fdt.powerflasher.com\/blog\/wp-content\/uploads\/2011\/04\/SDKs-440x244.png' alt='' width='440' height='244' \/>\n<p><strong>5. Add the project template to FDT<\/strong><\/p>\n<p>To save you the time to manually setup a project we have created a project template that will take care of a couple of things for you. Simply copy the content of the &#8216;FDT&#8217; folder to your project templates. you can find your project template folder here:<\/p>\n<p>Win XP<br \/>\n<em> C:\\Documents and Settings\\username\\Application Data\\FDT\\<\/em><br \/>\nWindows 7<br \/>\n<em> C:\\Users\\username\\AppData\\Roaming\\FDT\\<\/em><br \/>\nMac<br \/>\n<em> \/Users\/username\/Library\/Application Support\/FDT\/<\/em><\/p>\n<p><strong>Note<\/strong>: You may need to restart FDT in order to apply the new project type.<\/p>\n<p>The template provides the following:<\/p>\n<ul>\n<li>adjusted compiler settings (-swf-version = 13)<\/li>\n<li>A adjusted HTML wrapper<\/li>\n<li>Sets the parameter wmode = &#8220;direct&#8221; in the HTML page<\/li>\n<li>a launcher to start the Main.as<\/li>\n<li>M2D SWC (simplifies 2D implementations in molehill)<\/li>\n<\/ul>\n<p><strong>Note<\/strong>: Molehill projects should always be started in an external HTML page with enabled wmode, otherwise it will fall back to software rendering.<\/p>\n<p><strong>6. Create a new molehill project<\/strong><\/p>\n<p>After you installed the template correctly you will find a new template when creating a new project. Go to <em>File&gt; New&gt; New Flash Project&gt; Web<\/em> and select &#8220;AS3 Molehill&#8221;. By clicking on &#8220;Next&#8221; you can define the SDK, select &#8216;Flex 4.5 FP 11 Incubator&#8217; and confirm with Finish.<\/p>\n<p>Now you have everything ready and you can get started.<\/p>\n<p>Malte Beyer, flash developer here at Powerflasher has created this template and also some sample projects in addition to his <a href=\"http:\/\/www.beyondtellerrand.com\/ffk11\/speakers_sessions.php#beyer\" target=\"_blank\">Session at beyond tellerrand<\/a> in cologne 2011. Make sure to check out his <a href=\"http:\/\/blog.powerflasher.de\/wp-content\/uploads\/2011\/04\/ffk11.pdf\">presentation<\/a> (german only) and <a href=\"http:\/\/blog.powerflasher.de\/wp-content\/uploads\/2011\/04\/exampleProjects.zip\">sample projects<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We like to show you how you can easily configure FDT to use Flashplayer 11 with the new Molehill features. Therefor we created a FDT project template to minimize your efforts. 1. You will have to download the following files Download Flash Player 11 Incubator build Download Flex SDK build 4.5.0.19768 Download playerglobal.swc Download FDT [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/4428"}],"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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/comments?post=4428"}],"version-history":[{"count":34,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/4428\/revisions"}],"predecessor-version":[{"id":4481,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/posts\/4428\/revisions\/4481"}],"wp:attachment":[{"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/media?parent=4428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/categories?post=4428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fdt.powerflasher.com\/blog\/wp-json\/wp\/v2\/tags?post=4428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}