<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Dullard's Guide : simulator</title><link>http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx</link><description>Tags: simulator</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Virtual Keyboards</title><link>http://blogs.msdn.com/amyd/archive/2007/10/24/virtual-keyboards.aspx</link><pubDate>Wed, 24 Oct 2007 10:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5641659</guid><dc:creator>Amy</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/amyd/comments/5641659.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=5641659</wfw:commentRss><description>&lt;P&gt;The input tag has four options for mode: password, singleline, multiline or display. When an input element with singleline, multiline, or password mode receives focus, the player &lt;EM&gt;&lt;STRONG&gt;may&lt;/STRONG&gt;&lt;/EM&gt; launch an onscreen keyboard to allow user input or a software player may enable use of the computer keyboard. This is not required, though (currently, only the Xbox presents the user with a keyboard). And, there's no guarantee on how a player's keyboard will look and if they will implement all the keys you want. Maybe you want an alphabetical keyboard. Maybe you want “.com” and “.net” keys to make entering email addresses easier. If you need user input, your best bet is to use the display mode on your input tag and implement your own virtual keyboard. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://blogs.msdn.com/photos/hddvd/images/5641670/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;The project at the end of this blog has 3 sample virtual keyboards to choose from - alphabetical (for me), &lt;A class="" href="http://en.wikipedia.org/wiki/Qwerty" target=_blank mce_href="http://en.wikipedia.org/wiki/Qwerty"&gt;QWERTY&lt;/A&gt;, and &lt;A class="" href="http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard" target=_blank mce_href="http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard"&gt;Dvorak&lt;/A&gt;&amp;nbsp;(for Chris).&amp;nbsp; They all use the same markup, styles, timing, and script files.&amp;nbsp; Only the markup files are different.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Here's a sample of what the "A" key looks like:&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;div&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;style&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;key col1&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;class&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;uppercase&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;button&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;class&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;key btn&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;style&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;key_btn&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;accessKey&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;VK_A_BUTTON&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;custom:key&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;A&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;p&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;A&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;p&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;div&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;class&lt;BR&gt;&lt;/B&gt;The parent div has a class attribute.&amp;nbsp; A class is a way to group similar elements.&amp;nbsp; It doesn't apply a style like the same attribute would in HTML.&amp;nbsp; Class is used here to group which elements are hid or shown when the shift button is actioned.&amp;nbsp; Class is also used to group all the keyboard keys so only one cue is needed for all buttons with the class applied.&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;cue&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;begin&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;class('key')[state:actioned()]&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;end&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;defaultNode()[not(state:actioned())]&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;event&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;key_action&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;cue&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;Custom Namespace&lt;BR&gt;&lt;/B&gt;The buttons of the keyboard also have a "custom:key" attribute.&amp;nbsp; The markup is extensible and custom attributes can be added if you add the namespace to the root element of the document.&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;xmlns:custom&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;http://custom&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;This allows us to pass custom information on the button that has been actioned to the script by calling getNamedItem on the target of the action&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;var&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; element = evt.target;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;var&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; attr = element.attributes.getNamedItem(&lt;SPAN style="COLOR: #a31515"&gt;"custom:key"&lt;/SPAN&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;var&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; key = attr.value;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&lt;B&gt;&lt;BR&gt;accessKey&lt;BR&gt;&lt;/B&gt;Adding accessKey to a button adds a shortcut to actioning that button.&amp;nbsp; This is particularly useful for the number keys because it allows users to navigate the keyboard or use the number panel on the remote.&amp;nbsp; Note that for the letter keys, only keys A, B, C, and D are required to be supported.&amp;nbsp; Letters E-L are optionally supported.&amp;nbsp; Letters M-Z are not supported.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;B&gt;&lt;BR&gt;computeImplicitNav&lt;BR&gt;&lt;/B&gt;As I stated earlier, shift is being handled by hiding or showing uppercase or lowercase classes.&amp;nbsp; By setting style:display to none, the disabled keys are removed from display.&amp;nbsp; However, changing a key's display from none to auto does not automatically add the element to the keyboard's navigation.&amp;nbsp; So, when display has been updated, an event is sent to the script and computeImplicitNav re-calculates the keyboard's implicit navigation. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5641659" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/amyd/attachment/5641659.ashx" length="71255" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/script/default.aspx">script</category><category domain="http://blogs.msdn.com/amyd/archive/tags/markup/default.aspx">markup</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category><category domain="http://blogs.msdn.com/amyd/archive/tags/sample+code/default.aspx">sample code</category></item><item><title>HD DVD Script Object Model</title><link>http://blogs.msdn.com/amyd/archive/2007/10/23/hd-dvd-script-object-model.aspx</link><pubDate>Wed, 24 Oct 2007 09:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5642420</guid><dc:creator>Amy</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/amyd/comments/5642420.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=5642420</wfw:commentRss><description>&lt;P&gt;Have you ever been working on an HDi project and needed to look up a method name in Annex Z, but you don't have it handy (or access at all)?&amp;nbsp; Well, luckily the &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en"&gt;Interactivity Jumpstart Kit&lt;/A&gt; ships with the HD DVD Script Object Model as a Visio file and a PNG.&amp;nbsp; You'll find this very useful file in C:\Program Files\HD DVD Interactivity Jumpstart\Documentation.&lt;/P&gt;
&lt;P&gt;And, while you're in there, check out the CHM file.&amp;nbsp; It has all the command line options for the simulator and the validator, keyboard mappings, and information on how to use the CreateACA and CreateDiscID tools.&lt;/P&gt;
&lt;P&gt;Good stuff.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5642420" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/script/default.aspx">script</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item><item><title>Dynamic Content</title><link>http://blogs.msdn.com/amyd/archive/2007/10/18/dynamic-content.aspx</link><pubDate>Thu, 18 Oct 2007 19:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5498354</guid><dc:creator>Amy</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/amyd/comments/5498354.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=5498354</wfw:commentRss><description>&lt;P mce_keep="true"&gt;Today's sample was created upon a request from my&amp;nbsp;very nice&amp;nbsp;and hard working office-mate Chris.&amp;nbsp; Last week Chris began learning HDi.&amp;nbsp; He whizzed through all the Jumpstart samples and the projects on my blog, and jumped into creating a project that would dynamically generate content on the fly.&amp;nbsp; After messing around with his project for a few days, Chris said I should write a blog how to do this for other people who had questions like his.&amp;nbsp; So, here it is.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;There is a sample project is attached at the end of this blog.&amp;nbsp; In this project, an XML file is parsed, data is extracted using XPath, text is dynamically added to the markup, and new "skins" are applied to the data by changing the loaded markup file.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;XML Data&lt;BR&gt;&lt;/B&gt;Let's say you have a project where you want to separate your data from your presentation layer.&amp;nbsp; Maybe you want to download new content from the network.&amp;nbsp; Maybe you want to be able to apply different skins to the same piece of content.&amp;nbsp; The obvious way to separate your data is by using XML.&amp;nbsp; &lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;xml&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;version&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;1.0&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;utf-8&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;?&amp;gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;data&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;headline&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;value&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;This Is The Header&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;subheading&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;value&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;Here's a Subheading&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;paragraph&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;Lorem ipsum . . .&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;paragraph&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;paragraph&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;Lorem ipsum . . .&lt;SPAN style="COLOR: blue"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;paragraph&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;data&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;In this project, the data is in a file called data.xml and it is included with the project.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;XMLParser&lt;BR&gt;&lt;/B&gt;Before the application does anything with this XML, we need to use the XMLParser to create a DOM.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;XMLParser.parse(&lt;SPAN style="COLOR: #a31515"&gt;uri&lt;/SPAN&gt;, parseCallback);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;function &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;parseCallback(status, dom)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;if&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; (status == XMLParser.OK)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt; TEXT-INDENT: 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt 0.5in; TEXT-INDENT: 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;//do something with dom&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt; TEXT-INDENT: 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;XMLParser.parse takes two arguments - uri is the full path of the xml file (file:///dvddisc/ADV_OBJ/data.xml in this project) and the callback function which is called when the XMLParser has completed and is ready to return the DOM.&lt;/P&gt;
&lt;P&gt;XMLParser also has a method called parseString which will create a DOM from a string.&amp;nbsp; The parseString function returns the DOM directly without the callback.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;var dom = &lt;SPAN style="mso-no-proof: yes"&gt;XMLParser.parseString(&lt;SPAN style="COLOR: #a31515"&gt;&lt;FONT color=#333333&gt;"&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;data&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;headline&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;value&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=\&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;This Is The Header\&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;/&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;data&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt;&lt;FONT color=#333333&gt;&lt;SPAN style="COLOR: #a31515"&gt;"&lt;/SPAN&gt;);&lt;BR&gt;&lt;SPAN style="COLOR: blue"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;This can be very handy to use if your XML comes from getResponseString() from a network request or if you want to create a new empty DOM on the fly. (For more information on networking, read &lt;A href="http://blogs.msdn.com/amyd/archive/2007/09/20/very-simple-network-example.aspx"&gt;http://blogs.msdn.com/amyd/archive/2007/09/20/very-simple-network-example.aspx&lt;/A&gt;)&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;BR&gt;evaluateXPath&lt;BR&gt;&lt;/B&gt;There are a couple of ways to can go through the newly created DOM.&amp;nbsp; We could cycle through all the childNodes using DOM Level 2 &lt;A class="" href="http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html" target=_blank mce_href="http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html"&gt;ECMAScript Language Binding&lt;/A&gt;.&amp;nbsp; Or, we can use XPath.&amp;nbsp; (Note, Xpath &lt;A class="" href="http://www.w3.org/TR/xpath#axes" target=_blank mce_href="http://www.w3.org/TR/xpath#axes"&gt;axes&lt;/A&gt; are not supported).&amp;nbsp; In this project, I've chosen to use some simple XPath calls to extract my data using evaluateXPath.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;var&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; nodes = dom.evaluateXPath(&lt;SPAN style="COLOR: #a31515"&gt;"//headline"&lt;/SPAN&gt;, dom.documentElement);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;evaluateXPath returns a &lt;A class="" href="http://blogs.msdn.com/ptorr/archive/2006/11/07/live-vs-loaded-dom.aspx" target=_blank mce_href="http://blogs.msdn.com/ptorr/archive/2006/11/07/live-vs-loaded-dom.aspx"&gt;nodeList&lt;/A&gt;.&amp;nbsp; Since I know I'm only expecting one headline here, if I do get a non-empty nodelist, I only need the first item and its value attribute.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;var&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; headline = nodes.item(0).getAttribute(&lt;SPAN style="COLOR: #a31515"&gt;"value"&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;The call to evaluteXPath for paragraph from my DOM will return more than one node.&amp;nbsp; Also, the data here is in a text node, not an attribute.&amp;nbsp; This text node is the first child of the paragraph tag and its contents can be retrieved by calling nodeValue.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;for&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; (&lt;SPAN style="COLOR: blue"&gt;var&lt;/SPAN&gt; i = 0; i &amp;lt; nodes.length; i++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: green"&gt;// do something with nodes.item(i).firstChild.nodeValue;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 6pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;I could go back to this DOM every time I need to get this data, but my application would take a performance hit.&amp;nbsp; So once I get my data, I cache it for use later.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;Adding Text to Markup&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Okay, the XML has been parsed and data cached, so now we can put it in the markup.&amp;nbsp; Here we will use the DOM Level 2 &lt;A class="" href="http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html" target=_blank mce_href="http://www.w3.org/TR/DOM-Level-2-Core/ecma-script-binding.html"&gt;ECMAScript Language Binding&lt;/A&gt; to create new paragraph tags (elements that can hold text) and text nodes inside.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: #ffffff"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;function&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; addText(element, txt) &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;var&lt;/SPAN&gt; p = document.createElement(&lt;SPAN style="COLOR: #a31515"&gt;"p"&lt;/SPAN&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;var&lt;/SPAN&gt; text = document.createTextNode(txt);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;p.appendChild(text);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;element.appendChild(p);&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;And, of course once this is complete, we load the changes to the modified markup by calling document.load.&amp;nbsp; For more information on why you need to call document.load, read Peter Torr's blog on &lt;A class="" href="http://blogs.msdn.com/ptorr/archive/2006/11/07/live-vs-loaded-dom.aspx" target=_blank mce_href="http://blogs.msdn.com/ptorr/archive/2006/11/07/live-vs-loaded-dom.aspx"&gt;Live vs. Load DOM&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;Switching Between Markup Files&lt;BR&gt;&lt;/B&gt;And, finally, just for kicks, I've added the ability to load new markup pages in order to reskin the data using the link() function.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Happy Programming!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5498354" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/amyd/attachment/5498354.ashx" length="67258" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/script/default.aspx">script</category><category domain="http://blogs.msdn.com/amyd/archive/tags/markup/default.aspx">markup</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category><category domain="http://blogs.msdn.com/amyd/archive/tags/sample+code/default.aspx">sample code</category></item><item><title>Launching the Simulator from Visual Studio</title><link>http://blogs.msdn.com/amyd/archive/2007/05/15/launching-the-simulator-from-visual-studio.aspx</link><pubDate>Tue, 15 May 2007 20:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2653603</guid><dc:creator>Amy</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/amyd/comments/2653603.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=2653603</wfw:commentRss><description>When you're building your HDi applications, you can use the BUILD_PROJECT.BAT file you downloaded from my last post to create your aca file and launch your project in the simulator in one simple step.&amp;nbsp; But, now, let's cut that double clicking down to one single button press in Visual Studio.&amp;nbsp; 
&lt;P&gt;First, we need to add our batch file to the list of external tools used by Visual Studio.&amp;nbsp; From the "Tools" menu, choose "External Tools...".&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In the dialog that appears, click the "Add" button to add a new External Tool.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://blogs.msdn.com/photos/hddvd/images/2653353/396x398.aspx" border=0 mce_src="http://blogs.msdn.com/photos/hddvd/images/2653353/396x398.aspx"&gt;&lt;/P&gt;
&lt;P&gt;I've named my tool "Build HDi App".&amp;nbsp; The command maps to the full path of the BUILD_PROJECT.BAT file in my solution.&amp;nbsp; I'm not passing any arguments in.&amp;nbsp; And, I've hard-coded the full path of the Initial directory to the ADV_OBJ folder in my solution's directory.&amp;nbsp; If you wish, you can modify your batch file so you can take advantage of the Arguments field or make the Initial directory generic so you use just one batch file for all your HDi projects.&lt;/P&gt;
&lt;P&gt;You can now run this batch from the "Tools" menu.&amp;nbsp; Note that in this example, "Build HDi App" is the 6&lt;SUP&gt;th&lt;/SUP&gt; External Tool in this list (I'll explain this later).&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://blogs.msdn.com/photos/hddvd/images/2653372/270x480.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;But, to make it even more convenient, let's put a button to launch this in the toolbar.&amp;nbsp; From the "Tools" menu, choose "Customize..."&amp;nbsp; In the Customize dialog, click on the Commands tab.&amp;nbsp; Under Categories on the left, click on Tools.&amp;nbsp; Under Commands on the right, click on your external tool and drag it up to your toolbar of your choice (you can add it to one of the existing toolbars, or create one of your own).&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://blogs.msdn.com/photos/hddvd/images/2653351/523x414.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Here, I know that my batch file is under External Command 6, because it was the 6&lt;SUP&gt;th&lt;/SUP&gt; External Tool in my list as noted above.&amp;nbsp; But to figure this out, you can also click on the "Rearrange Commands" button and in the dialog that appears, select "Tools" from the Menu Bar drop down menu to get the view below.&amp;nbsp; Since "Build HDi App" in the Tools menu appears just above "External Tools...", I know that "External Command 6" is the one I'm looking for.&amp;nbsp; This is also a useful dialog if you'd like to rename the items or put an image on the menu item or button.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://blogs.msdn.com/photos/hddvd/images/2653365/367x480.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;The example I've shown here works well if you are currently working on a single HDi application.&amp;nbsp; But, you can modify your batch file and the arguments passed in by the tool dialog to customize your environment to work better for you.&amp;nbsp; Or, you could just create a button for each application you're working on.&amp;nbsp; Customize your development environment to suit your needs.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2653603" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/amyd/archive/tags/HD+DVD/default.aspx">HD DVD</category><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item><item><title>Have you noticed I like Batch Files?</title><link>http://blogs.msdn.com/amyd/archive/2007/05/14/have-you-noticed-i-like-batch-files.aspx</link><pubDate>Mon, 14 May 2007 17:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2626608</guid><dc:creator>Amy</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/amyd/comments/2626608.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=2626608</wfw:commentRss><description>&lt;P mce_keep="true"&gt;I am a big fan of automating where I can.&amp;nbsp; I am not a big fan of remembering command line arguments.&amp;nbsp; I prefer to double-click whenever possible.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In my last post, I went over how I generated an aca using a batch file. &amp;nbsp;Using the aca means that I can add resources to my project whenever I want without having to modify my playlist or my manifest.&amp;nbsp; But, now I want to take it one step farther.&amp;nbsp; I want the batch file to create my aca and I want it to launch my project in the simulator.&amp;nbsp; And, it turns out that it's a simple addition of one line at the very end:&lt;/P&gt;
&lt;P style="FONT-FAMILY: courier new"&gt;"C:\Program Files\HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -nosize -debug -p ../&lt;/P&gt;
&lt;P&gt;I'm using a few command line arguments of note here.&amp;nbsp; "-nosize" tells the simulator that it can ignore the size I enter for the resource in the playlist.&amp;nbsp; I can't ignore this value forever - before the final version goes to disc, I have to put the correct value in the playlist, but I don't want to bother with this value during development.&amp;nbsp; "-debug" tells the simulator to give me debug messages in the status bar at the bottom of the window.&amp;nbsp; I find this very helpful when things are working like I expected them to.&amp;nbsp; If you're doing a lot of script work, you might consider using "-jit" - more on this at a later time.&amp;nbsp; "-p " is used to tell the simulator the project that I want to run.&amp;nbsp; Since I'm adding this to the CREATE_ACA.bat file in ADV_OBJ, I use "../" as the project location so that the simulator loads this project from one level higher (which is considered to be the dvddisc directory).&lt;/P&gt;
&lt;P&gt;Okay, now "CREATE_ACA.BAT" isn't really a good name for this updated batch file because it is also opening my project.&amp;nbsp;&amp;nbsp; "BUILD_PROJECT.BAT" is attached at the end of this post.&amp;nbsp; I keep a copy of this batch file in all my ADV_OBJ folders.&amp;nbsp; Whenever I modify a file in my project, I can double click this file to re-generate my acas and launch my project in the simulator.&lt;/P&gt;
&lt;P&gt;In my next post, I'll show you how to add a button to your Visual Studio toolbar to run this batch file.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2626608" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/amyd/attachment/2626608.ashx" length="585" type="application/octet-stream" /><category domain="http://blogs.msdn.com/amyd/archive/tags/HD+DVD/default.aspx">HD DVD</category><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item><item><title>ACAs are Your Friend</title><link>http://blogs.msdn.com/amyd/archive/2007/05/09/acas-are-your-friend.aspx</link><pubDate>Wed, 09 May 2007 22:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2509126</guid><dc:creator>Amy</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/amyd/comments/2509126.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=2509126</wfw:commentRss><description>As you have noticed, every resource that you use - script, markup, images, audio, etc - must be listed as a resource in both the playlist and the manifest.&amp;nbsp; As you can imagine, this quickly becomes painful as your applications grow in size.&amp;nbsp; This is where ACA files come in very handy. 
&lt;P&gt;ACAs are simply archive files.&amp;nbsp; There's no compression, just grouping.&amp;nbsp; There are several benefits in using ACAs for you project.&amp;nbsp; First, you don't have to list out all the resources individually.&amp;nbsp; Instead, you will have only one resource - the aca file itself - listed in your playlist and manifest.&amp;nbsp; Second, the player will have a lot fewer seek operations to perform because it only needs to load your aca as a resource and not all the individual files, so your application will load faster.&amp;nbsp; Third, the player will be able to make better use of its available storage because rather than assigning individual assets to blocks and wasting space, there is only one aca file to load, so less wasted space.&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;Referencing an ACA as a Resource&lt;BR&gt;&lt;/B&gt;Lets' suppose we want to change the Hello World application (C:\Program Files\HD DVD Interactivity Jumpstart\Samples\HelloWorld\ADV_OBJ) to use an ACA that we've created called hello.aca (more on creation later) which contains all the files needed for the Hello World application (font.ttf, manifest.xmf, markup.xmu).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Our &lt;B&gt;playlist&lt;/B&gt; (VPLST000.XPL) title application reference used to be:&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationSegment&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;autorun&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;true&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;titleTimeBegin&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:01&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;titleTimeEnd&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;23:59:59:59&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/manifest.xmf&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;zOrder&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;0&lt;/SPAN&gt;" &lt;SPAN style="COLOR: red"&gt;sync&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;hard&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationResource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;loadingBegin&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:00&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;priority&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;1&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;size&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;763&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/manifest.xmf&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;multiplexed&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationResource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;loadingBegin&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:00&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;priority&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;1&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;size&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;78072&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/font.ttf&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;multiplexed&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationResource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;loadingBegin&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:00&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;priority&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;1&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;size&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;1214&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/markup.xmu&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;multiplexed&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationSegment&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Will be changed to:&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationSegment&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;autorun&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;true&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;titleTimeBegin&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:01&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;titleTimeEnd&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;23:59:59:59&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/hello.aca/manifest.xmf&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;zOrder&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;0&lt;/SPAN&gt;" &lt;SPAN style="COLOR: red"&gt;sync&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;hard&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationResource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;loadingBegin&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;00:00:00:00&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;priority&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;1&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;size&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;99999&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;src&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/hello.aca&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;multiplexed&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;ApplicationSegment&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Our &lt;B&gt;manifest&lt;/B&gt; (manifest.xmf) resource list used to be:&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;Resource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;src&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/markup.xmu&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;Resource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;src&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/font.ttf&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Will be changed to:&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;Resource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;src&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/hello.aca&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;B&gt;&lt;BR&gt;Referencing Files in the ACA&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Notice that when you reference a file within the aca - like the manifest reference in the title application from the playlist above - you treat it as if it were a folder.&amp;nbsp; When you want to reference the manifest.xmf file with in hello.aca, you use file:///dvddisc/ADV_OBJ/hello.aca/manifest.xmf.&lt;/P&gt;
&lt;P&gt;ACAs contain files, not directories.&amp;nbsp; All files within your aca must be at the same level.&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P&gt;&lt;B&gt;&lt;SPAN style="COLOR: #00b050"&gt;Correct&lt;/SPAN&gt;:&lt;/B&gt; file:///dvddisc/ADV_OBJ/hello.aca/manifest.xmf&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;SPAN style="COLOR: red"&gt;Wrong&lt;/SPAN&gt;:&lt;/B&gt; file:///dvddisc/ADV_OBJ/hello.aca/subdirectory/manifest.xmf&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR&gt;Before you create your ACA, you will want to make sure your references within your manifests and markup files are correct.&amp;nbsp; One of the easiest ways to ensure your references are correct is to use relative references instead of absolute whenever possible.&amp;nbsp; In the Hello World application, notice that the reference to the markup file "markup.xmu" within the manifest is relative and so is the reference to the font "font.ttf" within the markup.&amp;nbsp; The reference that must be absolute, however, is the reference to the ACA as a Resource within the manifest.&lt;/P&gt;
&lt;DIV style="COLOR: #333333; BACKGROUND-COLOR: white"&gt;
&lt;P&gt;&lt;B&gt;&lt;SPAN style="COLOR: #00b050"&gt;Correct&lt;/SPAN&gt;: &lt;BR&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;Resource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;src&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;file:///dvddisc/ADV_OBJ/hello.aca&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;SPAN style="COLOR: red"&gt;Wrong&lt;/SPAN&gt;: &lt;BR&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;Resource&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;src&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin"&gt;"&lt;SPAN style="COLOR: blue"&gt;hello.aca&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;The references to the manifest for the application and aca resource in the playlist must be absolute as well.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;B&gt;Creating an ACA&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;There are several different tools that you can use to create an ACA.&amp;nbsp; For development purposes, you can use the CreateACA.exe command line tool that comes with the HD DVD Interactivity Jumpstart.&amp;nbsp; This tool doesn't support AACS, so you probably won't want to use it for final aca, but it's very helpful for development.&amp;nbsp; You can find this tool in C:\Program Files\HD DVD Interactivity Jumpstart\Tools.&lt;/P&gt;
&lt;P&gt;There are two ways you can use this tool to create an ACA.&amp;nbsp; As part of the command line arguments, you can list out the files that should be included inside the aca.&amp;nbsp; Alternatively, you can pass a text file with the list of files to be included.&lt;/P&gt;
&lt;P&gt;To create an aca using the list of files as command line arguments, open a command line prompt in the HelloWorld\ADV_OBJ directory and enter the following...&lt;/P&gt;
&lt;P style="FONT-FAMILY: courier new"&gt;"C:\Program Files\HD DVD Interactivity Jumpstart\Tools\CreateACA.exe" -c hello.aca markup.xmu font.ttf manifest.xmf&lt;/P&gt;
&lt;P&gt;To create an aca by passing in a text file, put the following in a text file called temp.txt in the ADV_OBJ directory&lt;/P&gt;
&lt;P style="FONT-FAMILY: courier new"&gt;markup.xmu&lt;BR&gt;font.ttf&lt;BR&gt;manifest.xmf&lt;/P&gt;
&lt;P&gt;And run the following from the command line:&lt;/P&gt;
&lt;P style="FONT-FAMILY: courier new"&gt;"C:\Program Files\HD DVD Interactivity Jumpstart\Tools\CreateACA.exe" -f hello.aca temp.txt&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;B&gt;Using a Batch File&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Of course, we don't want to hand type this temporary text file for every project and then have to update it for each new resource.&amp;nbsp; Instead, we're going to use a batch file to create this temp.txt file and generate our aca for us.&lt;/P&gt;
&lt;P&gt;In the HelloWorld\ADV_OBJ directory create a folder called "hello".&amp;nbsp; I like to use a folder with the same name as my aca.&lt;/P&gt;
&lt;P&gt;Move your application files (manifest.xmf, markup.xmu, and font.ttf) into the hello directory.&lt;/P&gt;
&lt;P&gt;Open manifest.xmf and change the resource tags as show above.&lt;/P&gt;
&lt;P&gt;Open up your text editor and enter the following (or download the file at the end of this post):&lt;/P&gt;
&lt;DIV style="FONT-FAMILY: courier new"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;@ECHO OFF&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::******************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::SET YOUR DIRECTORY NAME HERE&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;set DIR_NAME=hello&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;::******************************&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;:loop through that directory to create a list of files&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;FOR %%f in (%DIR_NAME%\*.*) DO echo %%f&amp;gt;&amp;gt; temp.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;:create an aca that matches your directory name&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"C:\Program Files\HD DVD Interactivity Jumpstart\Tools\CreateACA.exe" -f %DIR_NAME%.aca temp.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; LINE-HEIGHT: normal; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;:delete the temp text file&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.5in"&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;DEL temp.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;
&lt;P&gt;Save this as CREATE_ACA.bat in your HelloWorld\ADV_OBJ directory.&lt;/P&gt;
&lt;P&gt;Now you can double click on this file to quickly generate an aca.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Just copy this file to your other projects and change the "DIR_NAME" setting at the top to generate ACAs for those projects too.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2509126" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/amyd/attachment/2509126.ashx" length="467" type="application/octet-stream" /><category domain="http://blogs.msdn.com/amyd/archive/tags/HD+DVD/default.aspx">HD DVD</category><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item><item><title>Installing HD DVD Interactivity Jumpstart on Vista</title><link>http://blogs.msdn.com/amyd/archive/2007/04/14/installing-hd-dvd-interactivity-jumpstart-on-vista.aspx</link><pubDate>Sun, 15 Apr 2007 01:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2136856</guid><dc:creator>Amy</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/amyd/comments/2136856.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=2136856</wfw:commentRss><description>&lt;P&gt;You were so excited about the Vista launch that you preordered your copy of the new operating system and are now basking in the beauty of improved interactivity and security, only to find that when you try to install the jumpstart package you get the "Microsoft Interactivity HD DVD Jumpstart requires a Windows XP operating system with Service Pack 2 or higher” message. As an HDi developer, I wasn’t so pleased at this. I want to use Vista AND write HDi!&amp;nbsp; Apparently&amp;nbsp;there are a handful of issues running on the simulator on Vista like rendering of fonts.&amp;nbsp; But, if you don't need&amp;nbsp;fonts on your project, then&amp;nbsp;most everything else works.&amp;nbsp; So, here's how you get around that pesky error message that stops you from doing your installs&lt;/P&gt;
&lt;P&gt;Go download the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en"&gt;HD DVD Interactity Jumpstart&lt;/A&gt; and &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E19C869B-EF37-4E5E-91ED-32D059E3775B&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E19C869B-EF37-4E5E-91ED-32D059E3775B&amp;amp;displaylang=en"&gt;Sample Code&lt;/A&gt;&amp;nbsp;installs and save them to your desktop. Download the batch file included at the end of this post in the same location as the two .msi files.&amp;nbsp; Double-click on the batch file and follow the instructions.&amp;nbsp; Done.&lt;/P&gt;
&lt;P&gt;You want to know what this batch file is doing exactly?&amp;nbsp; Okay... 
&lt;P&gt;First, it extracts the contents of the install files by calling...&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;msiexec /a HDDVDJumpstart.msi TARGETDIR="C:\Program Files\Microsoft HD DVD Interactivity Jumpstart"&lt;BR&gt;&lt;BR&gt;msiexec /a HDDVDSamples.msi TARGETDIR="C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples"&lt;/P&gt;
&lt;P&gt;For consistency's sake, I am replicating the install as it would occur on XP, but you can extract wherever you'd like. Now, you could certainly stop here, but again, for consistency's sake, I'm duplicating what happens on XP, so now I create the Start menu shortcuts.&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples"&lt;/P&gt;
&lt;P&gt;opening the&amp;nbsp;location in Program Files...&amp;nbsp;&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;explorer "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator"&lt;/P&gt;
&lt;P&gt;Now, it tells you to manually&amp;nbsp;create a shortcut to the HDiSim.exe file by right clicking and chosing "Create Shortcut"&lt;/P&gt;
&lt;P&gt;Then it will move that shortcut to the start menu folder and create a copy for each of the samples...&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;move "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim - Shortcut.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk"&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples\HelloWorld.lnk&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples\Button.lnk"&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples\Chapters.lnk"&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples\RotatingMenus.lnk"&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\HD DVD Simulator.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples\AdvancedTechniques.lnk"&lt;/P&gt;
&lt;P&gt;and finally, it open up the samples folder in the start menu…&lt;/P&gt;
&lt;P style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;explorer "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft HD DVD Interactivity Jumpstart\HD DVD Simulator\Samples"&lt;/P&gt;
&lt;P&gt;and asks you to manually update the target for each of the shortcuts &lt;/P&gt;
&lt;P&gt;&lt;I&gt;Advanced Techniques&lt;/I&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;"C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -p "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples\AdvancedTechniques"&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;I&gt;Button&lt;/I&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;"C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -p "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples\Button"&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;I&gt;Chapters&lt;/I&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;"C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -p "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples\Chapters"&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;I&gt;Hello World&lt;/I&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;"C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -p "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples\HelloWorld"&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;I&gt;Rotating Menus&lt;/I&gt;&lt;BR&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'"&gt;"C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\HDDVDSimulator\HDiSim.exe" -p "C:\Program Files\Microsoft HD DVD Interactivity Jumpstart\Samples\rotatingMenus"&lt;/SPAN&gt; 
&lt;P&gt;And now you are ready to run HDiSim on Vista! Again, there is an issue with font rendering which will cause it to crash, so try to avoid that. As you encounter issues on Vista, please leave a comment here and I will funnel the information to the correct people. Now, go have some fun!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2136856" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/amyd/attachment/2136856.ashx" length="3863" type="application/octet-stream" /><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item><item><title>Getting Started with HD DVD</title><link>http://blogs.msdn.com/amyd/archive/2007/04/11/getting-started-with-hd-dvd.aspx</link><pubDate>Thu, 12 Apr 2007 09:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2092452</guid><dc:creator>Amy</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/amyd/comments/2092452.aspx</comments><wfw:commentRss>http://blogs.msdn.com/amyd/commentrss.aspx?PostID=2092452</wfw:commentRss><description>&lt;P&gt;So, you've been tasked with creating a menu for an HD DVD and don't know where to start.&amp;nbsp; Lets start out by getting the (free!) Microsoft HD DVD simulator and some sample code installed on your machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Hardware Requirements&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;First, let's make sure you have the right computer.&amp;nbsp; You will need to be running &lt;STRONG&gt;Windows XP SP2&lt;/STRONG&gt;.&amp;nbsp; Full support for Vista is not quite ready yet (although you might &lt;EM&gt;possibly&lt;/EM&gt; be able to run the binaries on your Vista install - more on that later).&amp;nbsp; You will need at least&amp;nbsp;&lt;STRONG&gt;512 MB&amp;nbsp;RAM &lt;/STRONG&gt;(1 GB+ is better)&amp;nbsp;and&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;a video card with &lt;STRONG&gt;256 MB of video RAM&lt;/STRONG&gt;.&lt;/P&gt;
&lt;H2&gt;Software Prerequisites&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;Before we&amp;nbsp;install the simulator, there are a few prerequisites.&amp;nbsp; You will need the lastest version of &lt;A href="http://www.microsoft.com/windows/windowsmedia/download/" target=_blank mce_href="http://www.microsoft.com/windows/windowsmedia/download/"&gt;Windows Media Player&lt;/A&gt; (but at least WMP 10), &lt;A href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx" target=_blank mce_href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx"&gt;Internet Explorer 7&lt;/A&gt;, and &lt;A href="http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/netframework/aa731542.aspx"&gt;.NET Framework 2.0&lt;/A&gt;.&lt;/P&gt;
&lt;H2&gt;Simulator Install&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;Now we're ready to install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F8ADA3F5-0EC6-4392-84AB-CB4860DB30ED&amp;amp;displaylang=en"&gt;HD DVD Interactivity Jumpstart Package&lt;/A&gt;.&amp;nbsp; By default, it will install at &lt;EM&gt;C:\Program Files\HD DVD Interactivity Jumpstart&lt;/EM&gt;, but you can put it anywhere.&amp;nbsp; This will also install some of the older, more simple samples like Hello World, Chapters, and Buttons.&lt;/P&gt;
&lt;P&gt;And, finally, lets install the advanced&amp;nbsp;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E19C869B-EF37-4E5E-91ED-32D059E3775B&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E19C869B-EF37-4E5E-91ED-32D059E3775B&amp;amp;displaylang=en"&gt;Sample Code&lt;/A&gt;&amp;nbsp;- Rotating Menus and Advanced Techniques. The Jumpstart install above includes a folder called Samples (&lt;EM&gt;C:\Program Files\HD DVD Interactivity Jumpstart\Samples&lt;/EM&gt;) - if you put your Jumpstart install somewhere other than the default location, look for that &lt;EM&gt;Samples&lt;/EM&gt; folder.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Okay, now we're ready to see some of these samples in action! Go to... &lt;/P&gt;
&lt;P mce_keep="true"&gt;Start &amp;gt; Programs &amp;gt; Microsoft HD DVD Interactivity Jumpstart &amp;gt; HD DVD Simulator &amp;gt; Samples&lt;/P&gt;
&lt;P mce_keep="true"&gt;And, check out...&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Rotating Menus Sample - use the left and right arrows to navigate&lt;BR&gt;&lt;A href="http://blogs.msdn.com/photos/hddvd/images/2092707/original.aspx" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/photos/hddvd/images/2092707/640x377.aspx"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Advanced Techniques Sample - use the arrow up key to bring the menu into view, and arrow left/right/up/down to navigate&lt;BR&gt;&lt;A href="http://blogs.msdn.com/photos/hddvd/images/2092681/original.aspx" target=_blank&gt;&lt;IMG border=0 src="http://blogs.msdn.com/photos/hddvd/images/2092681/640x377.aspx"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;So, now you're probably itching to get started on some apps of your own.&amp;nbsp; I will be blogging more soon, but in the meantime, take a look at &lt;A href="http://blogs.msdn.com/ptorr/archive/2006/03/29/564548.aspx" target=_blank mce_href="http://blogs.msdn.com/ptorr/archive/2006/03/29/564548.aspx"&gt;Peter Torr's blog&lt;/A&gt; on HD DVD.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2092452" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/amyd/archive/tags/HDi/default.aspx">HDi</category><category domain="http://blogs.msdn.com/amyd/archive/tags/simulator/default.aspx">simulator</category></item></channel></rss>