New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / tools / faust2flash_v0.1 / Step_2_FlashBuilder_project / html-template / index.template.html
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2flash_v0.1/Step_2_FlashBuilder_project/html-template/index.template.html b/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2flash_v0.1/Step_2_FlashBuilder_project/html-template/index.template.html
new file mode 100644 (file)
index 0000000..ab13da2
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
+<!-- saved from url=(0014)about:internet -->\r
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">    \r
+    <!-- \r
+    Smart developers always View Source. \r
+    \r
+    This application was built using Adobe Flex, an open source framework\r
+    for building rich Internet applications that get delivered via the\r
+    Flash Player or to desktops via Adobe AIR. \r
+    \r
+    Learn more about Flex at http://flex.org \r
+    // -->\r
+    <head>\r
+        <title>${title}</title>         \r
+        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+               <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and \r
+                    the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as \r
+                        the percentage of the height of its parent container, which has to be set explicitly.  Initially, \r
+                        don't display flashContent div so it won't show if JavaScript disabled.\r
+               -->\r
+        <style type="text/css" media="screen"> \r
+                       html, body      { height:100%; }\r
+                       body { margin:0; padding:0; overflow:auto; text-align:center; }   \r
+                       #flashContent { display:none; }\r
+        </style>\r
+               \r
+               <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->\r
+        <!-- BEGIN Browser History required section ${useBrowserHistory}>\r
+        <link rel="stylesheet" type="text/css" href="history/history.css" />\r
+        <script type="text/javascript" src="history/history.js"></script>\r
+        <!${useBrowserHistory} END Browser History required section -->  \r
+                   \r
+        <script type="text/javascript" src="swfobject.js"></script>\r
+        <script type="text/javascript">\r
+            <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. --> \r
+            var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";\r
+            <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->\r
+            var xiSwfUrlStr = "${expressInstallSwf}";\r
+            var flashvars = {};\r
+            var params = {};\r
+            params.quality = "high";\r
+            params.bgcolor = "${bgcolor}";\r
+            params.allowscriptaccess = "sameDomain";\r
+            params.allowfullscreen = "true";\r
+            var attributes = {};\r
+            attributes.id = "${application}";\r
+            attributes.name = "${application}";\r
+            attributes.align = "middle";\r
+            swfobject.embedSWF(\r
+                "${swf}.swf", "flashContent", \r
+                "${width}", "${height}", \r
+                swfVersionStr, xiSwfUrlStr, \r
+                flashvars, params, attributes);\r
+                       <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->\r
+                       swfobject.createCSS("#flashContent", "display:block;text-align:left;");\r
+        </script>\r
+    </head>\r
+    <body>\r
+        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough \r
+                        JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show\r
+                        when JavaScript is disabled.\r
+               -->\r
+        <div id="flashContent">\r
+               <p>\r
+                       To view this page ensure that Adobe Flash Player version \r
+                               ${version_major}.${version_minor}.${version_revision} or greater is installed. \r
+                       </p>\r
+                       <a href="http://www.adobe.com/go/getflashplayer">\r
+                               <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />\r
+                       </a>\r
+        </div>\r
+               \r
+               <noscript>\r
+            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">\r
+                <param name="movie" value="${swf}.swf" />\r
+                <param name="quality" value="high" />\r
+                <param name="bgcolor" value="${bgcolor}" />\r
+                <param name="allowScriptAccess" value="sameDomain" />\r
+                <param name="allowFullScreen" value="true" />\r
+                <!--[if !IE]>\r
+                <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">\r
+                    <param name="quality" value="high" />\r
+                    <param name="bgcolor" value="${bgcolor}" />\r
+                    <param name="allowScriptAccess" value="sameDomain" />\r
+                    <param name="allowFullScreen" value="true" />\r
+                <![endif]-->\r
+                <!--[if gte IE 6]>\r
+                       <p> \r
+                               Either scripts and active content are not permitted to run or Adobe Flash Player version\r
+                               ${version_major}.${version_minor}.${version_revision} or greater is not installed.\r
+                       </p>\r
+                <![endif]-->\r
+                    <a href="http://www.adobe.com/go/getflashplayer">\r
+                        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />\r
+                    </a>\r
+                <!--[if !IE]>\r
+                </object>\r
+                <![endif]-->\r
+            </object>\r
+           </noscript>         \r
+   </body>\r
+</html>\r