<div>Hi</div>
<div>there is my blog about IronPython and Silverlight 2:<a href="http://www.cnblogs.com/redmoon/archive/2008/03/08/1096331.html">http://www.cnblogs.com/redmoon/archive/2008/03/08/1096331.html</a></div>
<div>I write it in Chinese, however you can translate it by Google Language Tool.</div>
<div>And this blog contain some useful links.<br><br></div>
<div class="gmail_quote">On Sun, Mar 9, 2008 at 7:42 PM, Michael Foord &lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello guys,<br><br>I would like to create Silverlight 2 applications *without* using chiron<br>to create and deploy them. How do I specify the Python application file?<br>
<br>I see that I can still use Silverlight.js and the &#39;createObjectEx&#39;<br>function to initialise the Silverlight control in my html. How do I<br>specify in &#39;app.xaml&#39; the Python file to load?<br><br><br>function createSilverlightEx()<br>
{<br>&nbsp; &nbsp;Silverlight.createObjectEx({<br>&nbsp; &nbsp; &nbsp; &nbsp;source: &#39;app.xaml&#39;, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Source property value.<br>&nbsp; &nbsp; &nbsp; &nbsp;parentElement:parentElement, &nbsp; &nbsp;// DOM reference to hosting DIV tag.<br>&nbsp; &nbsp; &nbsp; &nbsp;id:&#39;myPlugin&#39;, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Unique plug-in ID value.<br>
&nbsp; &nbsp; &nbsp; &nbsp;properties:{ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Plug-in properties.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;width:&#39;1024&#39;, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Width of rectangular region<br>of plug-in, in pixels.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;height:&#39;530&#39;, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Height of rectangular region<br>
of plug-in, in pixels.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;inplaceInstallPrompt:false, // Determines whether to display<br>in-place install prompt if invalid version is detected.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;background:&#39;white&#39;, &nbsp; &nbsp; &nbsp; &nbsp; // Background color of plug-in.<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;isWindowless:&#39;false&#39;, &nbsp; &nbsp; &nbsp; // Determines whether to display<br>plug-in in windowless mode.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;framerate:&#39;24&#39;, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // MaxFrameRate property value.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;version:&#39;1.0&#39;}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Silverlight version.<br>
&nbsp; &nbsp; &nbsp; &nbsp;events:{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onError:null, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // OnError property value --<br>event-handler function name.<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;onLoad:null}, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // OnLoad property value --<br>event-handler function name.<br>
&nbsp; &nbsp; &nbsp; &nbsp;initParams:null, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// initParams property value --<br>user-settable string for information passing.<br>&nbsp; &nbsp; &nbsp; &nbsp;context:null}); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Context value -- passed to<br>Silverlight.js onLoad event handlers.<br>
}<br><br>Thanks<br><br>Michael<br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br><a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Once in a Redmoon