Windows 8 applications with js.

Windows 8 applications with js - first look

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>App2</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <!-- App2 references -->
    <link href="/css/default.css" rel="stylesheet" />
    <div id="haxe:jeash" style="background-color: #000000; width: 800px; height: 480px" data-framerate="60"></div>
    <script>function winParameters() { return {}; }</script>
    <script id="haxe:jeash:script" src="/js/default.js"></script>

</head>
<body></body>
</html>
  • From the solutions explorer in the js folder edit the default.js file by removing anything below...
    // For an introduction to the Blank template, see the following documentation:
    // http://go.microsoft.com/fwlink/?LinkId=232509
  • Then going back to flashdevelop copy and paste the javascript created in the bin/js folder to the Visual studio default.js file below the text above.
  • Build the visual studio project. And then Deploy to test locally.
  • Set up the package.appxmanifest via tutorials on dev.windowsphone.com site.
  • Get a BizSpark account for using the store.
  • STORE > upload app package
version #15464, modified 2012-09-17 18:43:21 by JLM