<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Paul Yanez</title>
	<atom:link href="http://paulyanez.com/interactive/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulyanez.com/interactive</link>
	<description>Interactive Design and Labs</description>
	<lastBuildDate>Thu, 23 Feb 2012 21:49:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Zendio</title>
		<link>http://paulyanez.com/interactive/index.php/2011/09/zendio/</link>
		<comments>http://paulyanez.com/interactive/index.php/2011/09/zendio/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 15:22:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[email builder]]></category>
		<category><![CDATA[email templates]]></category>
		<category><![CDATA[paul yanez]]></category>
		<category><![CDATA[stationery creator]]></category>
		<category><![CDATA[zendio]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1611</guid>
		<description><![CDATA[Very excited to have worked on a product that just released today. It is a product called Zendio, a Microsoft Outlook plugin. My role was to build the email stationery builder and the email tracking UI. The email stationery creator (...)]]></description>
			<content:encoded><![CDATA[<p>Very excited to have worked on a product that just released today. It is a product called <a href="http://www.zendio.com/what_is_zendio_email_tracking">Zendio</a>, a Microsoft Outlook plugin. My role was to build the email stationery builder and the email tracking UI. The email stationery creator is simply the easiest to use product I have seen and it provides many powerful features. The tracking component lets you see who has viewed your email, where and when and how many times. There are maps and charts and all viewable in one screen, no popups.</p>
<p>
 <font face="Georgia" color="#000000" size="4">Stationery Creator</font></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio21-century.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio21-century.jpg" alt="" title="zendio21-century" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
Once you select a template, you will see what elements can be editable very easily. There are over 70 custom designed templates for many industries.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-image-selection.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-image-selection.jpg" alt="" title="zendio-image-selection" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
To add an image you simply click on the image placeholder and select your image. You are not prompted to upload and wait.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-edit.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-edit.jpg" alt="" title="zendio-edit" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
To change your text you simply type in your data. The templates have hints such as &#8220;Enter your name&#8221; but you can enter anything you want and in any order. One very exciting feature is the way we use designer fonts and make sure it looks the same on all computers. No need to use the typical web based fonts.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-zoom.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-zoom.jpg" alt="" title="zendio-zoom" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
You have multiple ways you can edit your image without the need of using 3rd party software. You can use our zoom tool and place your image exactly where you want.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-color-contrast.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-color-contrast.jpg" alt="" title="zendio-color-contrast" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
You can also improve the way your image looks by altering the Brightness, Contrast, Saturation and Hue. Again no need to use 3rd party software such as Photoshop.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-color.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-color.jpg" alt="" title="zendio-color" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
The default colors of the template have been set, but you can easily change that by selecting from a huge list of colors. You can easily create your own list of colors that map to your brand and save that as a color item.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-preview.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-preview.jpg" alt="" title="zendio-preview" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
A really cool feature is if you only want to add your name and not your email or add an image, you can. There is a &#8220;Preview&#8221; button that will show only what you have filled in and that is what will be saved. You can always add or delete items at anytime.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-disclaimer.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-disclaimer.jpg" alt="" title="zendio-disclaimer" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
Most emails from businesses contain a disclaimer, to add one simply click on the disclaimer button and paste your text.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-finished.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-finished.jpg" alt="" title="zendio-finished" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
In here is your finished product, in no time at all you have a custom email stationery.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-medical.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-medical.jpg" alt="" title="zendio-medical" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
The product has 70 custom designs for industries such as Real Estate, Medical, Law, General Business etc.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-remax.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-remax.jpg" alt="" title="zendio-remax" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
For certain clients, everything is pre-populated with their logos, brand colors and fonts.</p>
<p>
 <font face="Georgia" color="#000000" size="4">Tracking and Analytics</font></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-tracking.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-tracking.jpg" alt="" title="zendio-tracking" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
You don&#8217;t simply get nicely designed emails but the ability to track at an unbelievable level of when, where, how the email was read.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-read-data2.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2011/09/zendio-read-data2.jpg" alt="" title="zendio-read-data2" width="100%" class="alignleft size-full wp-image-1624" /></a><br />
You can track the email you sent out and even see if links within were actually clicked.</p>
<p>
 <font face="Georgia" color="#000000" size="4">Video for Zendio</font></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="325" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/HxFrsYV9NUA&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="100%" height="325" src="http://www.youtube.com/v/HxFrsYV9NUA?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2011/09/zendio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nine year old hacker hacks Google&#8217;s Lunar Eclipse Doodle</title>
		<link>http://paulyanez.com/interactive/index.php/2011/06/nine-year-old-hacker-hacks-google-lunar-doodle/</link>
		<comments>http://paulyanez.com/interactive/index.php/2011/06/nine-year-old-hacker-hacks-google-lunar-doodle/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 03:34:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google doodle]]></category>
		<category><![CDATA[vincent yanez]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1582</guid>
		<description><![CDATA[Last week when Google had the Les Paul doodle my son Vincent was so impressed by it he was playing and recording songs for 2 days. When Google removed the guitar app he was so upset and everyday has been (...)]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.paulyanez.com/google/googleLunar.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="550" height="300" src="http://www.paulyanez.com/google/googleLunar.swf" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p></p>
<p>Last week when Google had the <a href="http://news.cnet.com/8301-1023_3-20070461-93/googles-les-paul-doodle-rocks-the-web/">Les Paul </a>doodle my son Vincent was so impressed by it he was playing and recording songs for 2 days. When Google removed the guitar app he was so upset and everyday has been looking to see if Google would bring it back or if another cool app would appear.</p>
<p>Finally yesterday Google had a lunar eclipse as one of the O&#8217;s in the google logo. Since you really couldn&#8217;t interact with it as the Les Paul app he thought about hacking it and decided to build his own.</p>
<p>He was able to code it in 39 lines of code, simplified the lunar eclipse by having only 4 images and manipulating them by applying filters and gradients. It took him a few hours to build and looks forward to creating an original doodle to be posted on Google such as these <a href="http://www.google.com/logos/fan.html">http://www.google.com/logos/fan.html</a></p>
<p>He also wants to attend a <a href="http://techcrunch.com/2011/05/22/meet-this-14-year-old-self-taught-hacker/">Techcrunch hackathon</a> ever since I told him about a 14 year old who attended the NYC event.</p>
<p></p>
<table width="640">
<tr>
<td width="150"><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg" alt="profile" title="profile" width="150"  class="alignnone size-full wp-image-1053" /></a></td>
<td width="15">&nbsp;</td>
<td valign="top"></br><br />
Vinny is 9 years old and he has been designing and developing on his computer for years. His favorite programs are Adobe Flash, 3D Studio Max and AfterEffects<br /></br> <br /></br></p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2011/06/nine-year-old-hacker-hacks-google-lunar-doodle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video: Flash on Android Is Shockingly Great!!!</title>
		<link>http://paulyanez.com/interactive/index.php/2010/09/video-flash-on-android-is-shockingly-great/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/09/video-flash-on-android-is-shockingly-great/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 05:17:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[droid 2]]></category>
		<category><![CDATA[flash player 10]]></category>
		<category><![CDATA[mobile video]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1565</guid>
		<description><![CDATA[On August 31st NewTeeVee wrote an article that is my opinion was simply incorrect - Video: Flash on Android Is Shockingly Bad. The article was written by Ryan Lawler and in all fairness he did not say things that were (...)]]></description>
			<content:encoded><![CDATA[<p><object width="645" height="390" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/hoHpJ8vHloY&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed width="645" height="390" type="application/x-shockwave-flash" src="http://www.youtube.com/v/hoHpJ8vHloY&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>On August 31st NewTeeVee wrote an article that is my opinion was simply incorrect -<a href="http://newteevee.com/2010/08/31/video-flash-on-android-is-startlingly-bad/"> Video: Flash on Android Is Shockingly Bad</a>.</p>
<p>The article was written by<a href="http://twitter.com/ryanlawler"> Ryan Lawler </a>and in all fairness he did not say things that were incorrect but he did allow a video on his post created by Kevin Tofel that was so biased and technically had absolutely zero creditability. I actually had to respond by not only writing a blog post but by building a demo to show how all the conclusions by Kevin were incorrect. On Twitter, Ryan posts &#8220;Having never used Flash on an Android phone before, I&#8217;m shocked at how bad the user experience is. Check out the video: http://bit.ly/bHaKkM&#8221;. I don&#8217;t think saying having never used flash&#8230; excuses you from allowing someone who obviously has zero technical cred to voice his opinion on your post.</p>
<p>Ryan states &#8220;While in theory Flash video might be a competitive advantage for Android users, in practice it’s difficult to imagine anyone actually trying to watch non-optimized web video on an Android handset, all of which makes one believe that maybe Steve Jobs was right to eschew Flash in lieu of HTML5 on the iPhone and iPad.&#8221;</p>
<p>So the million dollar question is how long will it take to optimize web video on an Android handset. I was able to create a significantly different user experience without altering a video or video player in mere minutes. Obviously resizing the controls will help with users actually being able to click on controls but since Flash is vector based, resizing while maintaining quality is simple. I did it here -<a href="http://paulyanez.com/interactive/index.php/2010/08/the-mobile-war-has-officailly-begun/"> Flash video on Droid 2</a>. I believe in the very immediate future Flash will be allowed in the iPhone, perphaps SkyFire. One must look not only at the present as this article did but at the possibilities, and Flash is in a great position in the next 6 months to jump leaps and bounds.</p>
<p>Do I blame Kevin for slamming Adobe, <a href="http://paulyanez.com/interactive/index.php/2009/11/microsoft-blows-past-flash-and-unleashes-silverlight-4-beta/">I&#8217;ve done in the past.</a> But I based my ideas off facts and sinking Flash Player 10 being released several weeks ago as horrible is simply incorrect. The flash developers have simply not caught up to Adobe. And I love it!!!</p>
<p>UPDATE: NewTeeVee&#8217;s Ryan Lawler wrote a new article &#8220;Is Flash on Android “Shockingly Bad” or &#8216;Shockingly Great?&#8217;&#8221;. My video above and quotes are mentioned.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/09/video-flash-on-android-is-shockingly-great/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Mobile War has officially Begun</title>
		<link>http://paulyanez.com/interactive/index.php/2010/08/the-mobile-war-has-officailly-begun/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/08/the-mobile-war-has-officailly-begun/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 07:35:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1546</guid>
		<description><![CDATA[Most will not realize what happened today, but the release of the Droid 2 today changes everything in the Technology space. Today the mobile wars just got very serious. The IPhone/IPad which has been the darling of the press for (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/08/droid.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/08/droid.jpg" alt="" title="droid" width="100%" class="alignleft size-full wp-image-1553" /></a></p>
<p>Most will not realize what happened today, but the release of the Droid 2 today changes everything in the Technology space. Today the mobile wars just got very serious. The IPhone/IPad which has been the darling of the press for the past year is in serious trouble. Why, in one word &#8211; Flash player 10.1.<br />
Steve Jobs has said Flash Player is garbage, useless and antiquated and that HTML 5 is the wave of the future. In one device and OS the Droid 2 has put a big kick in the ass to Steve Jobs.<br />
Why do I think this &#8211; because I was able in 2 hours to port my video player web based application to be mobile enabled. No code changes, just resized objects and it worked exactly the way it works within a desktop browser. </p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="370" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/bwqlmxvi0ck&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="100%" height="370" src="http://www.youtube.com/v/bwqlmxvi0ck?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I didn&#8217;t have to buy a MAC at least $2,000, develop in c ancient, upload to the Apple app store, get approved, get rejected and still have to pay $99 and a 30% commission. I just did what I have been doing for the past 15 years ftp to my site and send out the link. No dictatorship or censorship of what I built. </p>
<p>In one app I can verify support for rtmp streaming video, class support, dynamic creation, animation, event handling etc. The ability to support flash player 10.1 is huge, nothing, nothing, nothing will be able to compete against this, period.</p>
<p>Bottom line, the Droid 2 is going to define what Mobile is.<br />
The users of Android will possess the ability to view the entire internet, whereas the Iphone crowd will not have access to at least 30% of the net.</p>
<p>The bottom line is can Adobe and Apple stop acting like Harry and Lloyd and get Flash on the IPhone?</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/08/the-mobile-war-has-officailly-begun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TechCrunch Disrupt 2010 NYC</title>
		<link>http://paulyanez.com/interactive/index.php/2010/06/techcrunch-disrupt-2010-nyc/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/06/techcrunch-disrupt-2010-nyc/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 07:07:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[disrupt]]></category>
		<category><![CDATA[evelyn rusli]]></category>
		<category><![CDATA[leena rao]]></category>
		<category><![CDATA[liz gannes]]></category>
		<category><![CDATA[marissa mayer]]></category>
		<category><![CDATA[mg seigler]]></category>
		<category><![CDATA[michael arrington]]></category>
		<category><![CDATA[techcrunch]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1486</guid>
		<description><![CDATA[TechCunch Disrupt 2010 in NYC was huge. One of the main reasons it had appeal to me was a &#8220;Hack Day&#8221; in which developers had 24 hours to build an app fom scratch. This hack event occurred on the weekend (...)]]></description>
			<content:encoded><![CDATA[<p>TechCunch Disrupt 2010 in NYC was huge. One of the main reasons it had appeal to me was a<a href="http://disrupt.techcrunch.com/s2010/hackathon"> &#8220;Hack Day&#8221;</a> in which developers had 24 hours to build an app fom scratch. This hack event occurred on the weekend of May 22-23. Then the 3 day event of <a href="http://disrupt.techcrunch.com/s2010/">TechCrunch Disrupt</a> in which the selected StartUps competed in May 24-26. I competed in both events. For HackDay, I had several developers tell me I would win &#8220;HackDay&#8221;, I didn&#8217;t but I gained high praise for what I accomplished from the developers. In the StartUp Battlefield I helped build an application for MovieClips which placed in the top 5 and ended up being a finalist. So to me it was a very productive week.</p>
<div>
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/michaelarringtonerikschoenfeldpaulyanez.jpg"><img title="michaelarringtonerikschoenfeldpaulyanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/michaelarringtonerikschoenfeldpaulyanez.jpg" alt="" width="100%" /></a>
</div>
<p>I got to meet <a href="http://twitter.com/arrington">Michael Arrington</a> and <a href="http://twitter.com/erickschonfeld">Erik Schonfeld</a> from TechCrunch, these guys had written articles on my work for Joost and Hulu.</p>
<p>Michael Arrington &#8211; <a href="http://techcrunch.com/2007/09/09/will-joost-address-the-copycats/">Will Joost Address The Copycats?</a><br />
Erik Schonfeld &#8211; <a href="http://techcrunch.com/2009/03/02/hulu-gets-an-unofficial-desktop-app-in-mymediaplayer2/">Hulu Gets An Unofficial Desktop App In MyMediaPlayer2</a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/marissa-mayer-paul-yanez2.jpg"><img class="alignleft size-full wp-image-1492" title="marissa-mayer-paul-yanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/marissa-mayer-paul-yanez2.jpg" alt="Marissa Mayer Paul Yanez" width="100%" /></a><br />
I got to meet <a href="http://twitter.com/marissamayer">Marissa Mayer</a> &#8211; <a href="http://www.google.com/corporate/execs.html#marissa">Vice President, Search Products &amp; User Experience from Google.<br />
</a><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/marissamayer-paulyanez.jpg"><img class="alignleft size-full wp-image-1494" title="marissamayer-paulyanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/marissamayer-paulyanez.jpg" alt="Google Marissa Mayer " width="100%" /></a><br />
Marissa sat down with me to go over the &#8220;Youtube Builder&#8221; I had created for TechCrunch HackDay.<br />
All I can say about <a href="http://twitter.com/marissamayer">Marissa</a> is how brilliant she is, as soon as I addressed a feature she was &#8221; oh you are trying to create a &#8230; &#8220;, obviously I can&#8217;t disclose the feature but wow. I was impressed.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/liz.jpg"><img class="alignleft size-full wp-image-1490" title="Liz Gannes" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/liz.jpg" alt="Liz Gannes - GigaOm" width="100%" /></a><br />
On the first day of the conference I looked back and I saw a familiar face,<a href="http://twitter.com/lizgannes"> Liz Gannes</a>. Liz was the first writer to cover my video players. She was so nice and it was great to meet her.<br />
<a href="http://newteevee.com/2007/07/27/what-if-joost-were-a-web-app/">What If Joost Were a Web App?</a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/boxee-avner-ronen-paul-yanez.jpg"><img class="alignleft size-full wp-image-1497" title="boxee-avner-ronen-paul-yanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/boxee-avner-ronen-paul-yanez.jpg" alt="" width="100%" /></a><br />
Boxee&#8217;s CEO <a href="http://twitter.com/avneron">Avner Ronen</a> was speaking at the conference and he was being interviewed by some press. I ran into him and introduced myself &#8220;Hi my name is Paul Yanez I build video&#8230;&#8221; and he replied I know who you are. I thought that was the coolest thing. We spoke for several minutes and exchanged numbers and I look forward to continuing our conversation.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/paulcoding.jpg"><img class="alignleft size-full wp-image-1500" title="paulcoding" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/paulcoding.jpg" alt="" width="100%" /></a><br />
10 minutes before the StartUp Battlefield I was backstage coding. Probably the craziest and coolest thing I have done in my professional career. Meanwhile I had press trying to video record me in an interview.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techcrunchcrew.jpg"><img class="alignleft size-full wp-image-1503" title="Techcrunch  writers" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techcrunchcrew.jpg" alt="Erik Schonfeld" width="100%" /></a><br />
I got to meet the TechCrunch writers <a href="http://twitter.com/parislemon">MG Siegler</a>,<a href="http://twitter.com/LeenaRao"> Leena Rao</a>, <a href="http://twitter.com/RobinWauters">Robin Wauters</a>.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techcrunch-evelyn-rusli-paul-yanez.jpg"><img class="alignleft size-full wp-image-1506" title="techcrunch-evelyn-rusli-paul-yanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techcrunch-evelyn-rusli-paul-yanez.jpg" alt="" width="100%" /></a><br />
OMG, <a href="http://twitter.com/evelynrusli">Evelyn </a>was such as pro throughout the Hack weekend and the conference it was so cool to meet her.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/movieclips-rich-raddon-zach-james-paul-yanez.jpg"><img class="alignleft size-full wp-image-1508" title="movieclips-rich-raddon-zach-james-paul-yanez" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/movieclips-rich-raddon-zach-james-paul-yanez.jpg" alt="" width="100%" /></a><br />
<a href="http://twitter.com/zachjames">Zach</a> and <a href="http://twitter.com/richraddon">Rich</a> are the coolest cats in this space and they rocked TechCrunch Disrupt. They made it into the <a href="http://techcrunch.com/2010/05/26/the-techcrunch-disrupt-final-five-betterment-movieclips-publish2-soluto-and-ujam/">Final Five</a>.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techDisruptSign.jpg"><img class="alignleft size-full wp-image-1510" title="techDisruptSign" src="http://paulyanez.com/interactive/wp-content/uploads/2010/06/techDisruptSign.jpg" alt="" width="100%" /></a><br />
The Graffiti felt right being in NYC again.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/06/techcrunch-disrupt-2010-nyc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fluid Layout Silverlight Video Player Part 1</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-silverlight-video-player-part-1/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-silverlight-video-player-part-1/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:17:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[databinding]]></category>
		<category><![CDATA[fluid]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1447</guid>
		<description><![CDATA[In the following tutorial we will begin building a fluid layout for a Silverlight video player. The main goal is to allow the scaling of the middle section of controlbar which houses the progressbar to scale according to the width (...)]]></description>
			<content:encoded><![CDATA[<table width="640" align="left">
<tr>
<td> In the following tutorial we will begin building a fluid layout for a Silverlight video player.<br />
      <span id="more-1447"></span> The main goal is to allow the scaling of the middle section of controlbar which houses the progressbar to scale according to the width of the player. The left and right columns will remain a fixed size. There should be no loss of quality of the graphic assets of the controls and the position of each control should remain relative of it&#8217;s container at all times.<br />
<br />
      </br><br />
      Steps<br />
      1- Build a wireframe of the containers you are trying to scale and have as fixed sizes<br />
      2- Use the Grid component as your layout component<br />
      3- Areas that you want to remain a fixed size, set the &#8220;ColumnDefinition Width&#8221; to a numerical value &#8211; ex: the pause component is fixed &#8211; ColumnDefinition Width=&#8221;50&#8243;<br />
      4- Areas that you want to scale, set the &#8220;ColumnDefinition Width&#8221; to &#8220;*&#8221; &#8211; ex: the middle section which contains the progressbar </p>
<p>
      </br><br />
      <font face="Georgia" color="#000000" size="4">Use the slider below to see the fluid layout</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
          <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="384"><param name="source" value="http://www.paulyanez.com/interactive/blog/FluidVideoPlayer1/FluidLayout.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"> <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/> </a><br />
          </object><br />
          <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
        </div>
</p></form>
<p>
    </br></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Wireframe of the videoplayer and the scaling we want to achieve</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/wireframe.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/wireframe.jpg" alt="wireframe" title="wireframe" width="640" height="313" class="alignleft size-full wp-image-1453" /></a>
</td>
</tr>
</table>
<p><font face="Georgia" color="#000000" size="4">XAML code</font> </p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
	x:Class=&quot;FluidLayout.MainPage&quot; Height=&quot;384&quot; mc:Ignorable=&quot;d&quot;&gt;

	&lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;White&quot; MinWidth=&quot;300&quot;&gt;
		&lt;Grid x:Name=&quot;fluidGrid&quot; Margin=&quot;0,0,0,72&quot; Width=&quot;{Binding Value, ElementName=sliderWidth, Mode=OneWay}&quot;&gt;
			&lt;Grid.RowDefinitions&gt;
				&lt;RowDefinition Height=&quot;250&quot;/&gt;
				&lt;RowDefinition Height=&quot;61&quot;/&gt;
			&lt;/Grid.RowDefinitions&gt;
			&lt;Grid.ColumnDefinitions&gt;
				&lt;ColumnDefinition Width=&quot;50&quot;/&gt;
				&lt;ColumnDefinition Width=&quot;*&quot;/&gt;
				&lt;ColumnDefinition Width=&quot;65&quot;/&gt;
			&lt;/Grid.ColumnDefinitions&gt;
			&lt;Rectangle Width=&quot;50&quot; Margin=&quot;0&quot; Grid.Row=&quot;1&quot;&gt;
				&lt;Rectangle.Fill&gt;
					&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
						&lt;GradientStop Color=&quot;#FF212121&quot; Offset=&quot;0&quot;/&gt;
						&lt;GradientStop Color=&quot;#FF070606&quot; Offset=&quot;1&quot;/&gt;
					&lt;/LinearGradientBrush&gt;
				&lt;/Rectangle.Fill&gt;
			&lt;/Rectangle&gt;
			&lt;Rectangle x:Name=&quot;fluidContent&quot; Margin=&quot;0&quot; Grid.Column=&quot;1&quot; Grid.Row=&quot;1&quot;&gt;
				&lt;Rectangle.Fill&gt;
					&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
						&lt;GradientStop Color=&quot;#FF222222&quot; Offset=&quot;0&quot;/&gt;
						&lt;GradientStop Color=&quot;#FF070606&quot; Offset=&quot;1&quot;/&gt;
					&lt;/LinearGradientBrush&gt;
				&lt;/Rectangle.Fill&gt;
			&lt;/Rectangle&gt;
			&lt;Rectangle Grid.Column=&quot;2&quot; Width=&quot;65&quot; Grid.Row=&quot;1&quot;&gt;
				&lt;Rectangle.Fill&gt;
					&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
						&lt;GradientStop Color=&quot;#FF212121&quot; Offset=&quot;0&quot;/&gt;
						&lt;GradientStop Color=&quot;#FF070606&quot; Offset=&quot;1&quot;/&gt;
					&lt;/LinearGradientBrush&gt;
				&lt;/Rectangle.Fill&gt;
			&lt;/Rectangle&gt;
			&lt;Rectangle Fill=&quot;Black&quot; Margin=&quot;0,0,0,0&quot; Grid.ColumnSpan=&quot;3&quot; Height=&quot;250&quot; VerticalAlignment=&quot;Top&quot;/&gt;
			&lt;Canvas HorizontalAlignment=&quot;Left&quot; Margin=&quot;20,20,0,20&quot; Width=&quot;12&quot; Grid.Row=&quot;1&quot;&gt;
				&lt;Rectangle x:Name=&quot;pause1&quot; Width=&quot;4&quot; Height=&quot;18&quot;&gt;
					&lt;Rectangle.Fill&gt;
						&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
							&lt;GradientStop Color=&quot;#FF3473AE&quot; Offset=&quot;0&quot;/&gt;
							&lt;GradientStop Color=&quot;#FF1A3D63&quot; Offset=&quot;1&quot;/&gt;
						&lt;/LinearGradientBrush&gt;
					&lt;/Rectangle.Fill&gt;
				&lt;/Rectangle&gt;
				&lt;Rectangle x:Name=&quot;pause2&quot; Width=&quot;4&quot; Height=&quot;18&quot; Canvas.Left=&quot;8&quot;&gt;
					&lt;Rectangle.Fill&gt;
						&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
							&lt;GradientStop Color=&quot;#FF3473AE&quot; Offset=&quot;0&quot;/&gt;
							&lt;GradientStop Color=&quot;#FF1A3D63&quot; Offset=&quot;1&quot;/&gt;
						&lt;/LinearGradientBrush&gt;
					&lt;/Rectangle.Fill&gt;
				&lt;/Rectangle&gt;
			&lt;/Canvas&gt;
			&lt;Rectangle Height=&quot;5&quot; Width=&quot;{Binding Width, ElementName=fluidContent, Mode=OneWay}&quot; VerticalAlignment=&quot;Top&quot; Grid.Column=&quot;1&quot; Grid.Row=&quot;1&quot; d:LayoutOverrides=&quot;Height&quot; Margin=&quot;0,25,0,0&quot; &gt;
				&lt;Rectangle.Fill&gt;
					&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
						&lt;GradientStop Color=&quot;#FF111111&quot;/&gt;
						&lt;GradientStop Color=&quot;#FF2A2929&quot; Offset=&quot;0.211&quot;/&gt;
					&lt;/LinearGradientBrush&gt;
				&lt;/Rectangle.Fill&gt;
			&lt;/Rectangle&gt;
			&lt;Canvas Margin=&quot;15,17,0,16&quot; Grid.Column=&quot;2&quot; Grid.Row=&quot;1&quot;&gt;
				&lt;Rectangle Height=&quot;13&quot; Width=&quot;17&quot; Fill=&quot;#FF4C4C4C&quot; Canvas.Left=&quot;9&quot; Canvas.Top=&quot;8&quot;/&gt;
				&lt;Path Stretch=&quot;Fill&quot; Height=&quot;5.253&quot; Width=&quot;5.123&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M769.54871,417.96725 L769.50836,412.4787 L774.93469,412.49072&quot; Stroke=&quot;#FF4C4C4C&quot; Canvas.Left=&quot;0.54&quot; Canvas.Top=&quot;0.05&quot;/&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;5.444&quot; Width=&quot;5.764&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M773.7923,417.28259 C773.63214,417.24255 769.02917,412.83853 769.02917,412.83853&quot; Canvas.Left=&quot;0.4&quot;/&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;4.984&quot; Width=&quot;5.123&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M769.54871,417.96725 L769.50836,412.4787 L774.93469,412.49072&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Left=&quot;0.14&quot; Canvas.Top=&quot;22.698&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform ScaleY=&quot;-1&quot;/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;4.324&quot; Width=&quot;5.663&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M773.7923,417.28259 C773.63214,417.24255 769.02917,412.83853 769.02917,412.83853&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Top=&quot;23.326&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform ScaleY=&quot;-1&quot;/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;5.253&quot; Width=&quot;5.192&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M769.54871,417.96725 L769.50836,412.4787 L774.93469,412.49072&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Left=&quot;29.391&quot; Canvas.Top=&quot;0.05&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform ScaleX=&quot;-1&quot;/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;5.444&quot; Width=&quot;5.842&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M773.7923,417.28259 C773.63214,417.24255 769.02917,412.83853 769.02917,412.83853&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Left=&quot;28.883&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform ScaleX=&quot;-1&quot;/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;4.984&quot; Width=&quot;5.192&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M769.54871,417.96725 L769.50836,412.4787 L774.93469,412.49072&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Left=&quot;29.796&quot; Canvas.Top=&quot;22.698&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform Angle=&quot;180&quot;/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
				&lt;Path Stretch=&quot;Fill&quot; Stroke=&quot;#FF4C4C4C&quot; Height=&quot;4.324&quot; Width=&quot;5.739&quot; UseLayoutRounding=&quot;False&quot; Data=&quot;M773.7923,417.28259 C773.63214,417.24255 769.02917,412.83853 769.02917,412.83853&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Canvas.Left=&quot;29.391&quot; Canvas.Top=&quot;23.326&quot;&gt;
					&lt;Path.RenderTransform&gt;
						&lt;TransformGroup&gt;
							&lt;ScaleTransform/&gt;
							&lt;SkewTransform/&gt;
							&lt;RotateTransform Angle=&quot;180&quot;/&gt;
							&lt;TranslateTransform/&gt;
						&lt;/TransformGroup&gt;
					&lt;/Path.RenderTransform&gt;
				&lt;/Path&gt;
			&lt;/Canvas&gt;
		&lt;/Grid&gt;
		&lt;Slider x:Name=&quot;sliderWidth&quot; Height=&quot;28&quot; Margin=&quot;196,0,194,31&quot; VerticalAlignment=&quot;Bottom&quot; Minimum=&quot;350&quot; Maximum=&quot;640&quot; Value=&quot;640&quot; Width=&quot;250&quot;/&gt;
		&lt;Image Margin=&quot;247,43,244,175&quot; Width=&quot;149&quot; Source=&quot;silverlight-logo.png&quot; Stretch=&quot;None&quot; d:LayoutOverrides=&quot;HorizontalAlignment&quot;/&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p></br><br />
The controls in this tutorial are not functional, the controls are simply meant to be placed with a fluid layout. The following are tutorials on building a video player<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<p>  <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
<p>Related Articles<br />
<a href="http://paulyanez.com/interactive/index.php/2009/11/databinding-controls-in-silverlight-3/">Databinding controls in SilverLight 3</a><br />
<a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar for your Hulu inspired SilverLight video player</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-silverlight-video-player-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating custom Silverlight buttons with Images Gradients and Transitions</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/creating-custom-silverlight-buttons-with-images-gradients-and-transitions/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/creating-custom-silverlight-buttons-with-images-gradients-and-transitions/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 18:26:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[transitions]]></category>
		<category><![CDATA[usercontrol]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1395</guid>
		<description><![CDATA[In the following tutorial I will show how to create your own custom button with images, gradients and transitions. 1- import an image and place on the artboard 2- add a rectangle with a radial gradient the same width and (...)]]></description>
			<content:encoded><![CDATA[<table width="640" align="left">
<tr>
<td> In the following tutorial I will show how to create your own custom button with images, gradients and transitions.<br />
      <span id="more-1395"></span><br />
      1- import an image and place on the artboard<br />
      2- add a rectangle with a radial gradient the same width and height as the image<br />
      3- add a rectangle with no fill and grey color as the border<br />
      4- select all 3 objects, right click and group into a canvas<br />
      5- right click and select make into usercontrol<br />
      6- select button as the type of usercontrol you want to create<br />
      7- right click and select &#8220;edit template/edit current&#8221;<br />
      8- select the states panel and go to the &#8220;mouseover&#8221; state and set the gradient&#8217;s opacity property to &#8220;0&#8243; and change the stroke color of the rectangle from grey to white<br />
      9- change the transition duration to 0.3 sec and set the transition to &#8220;cubic in&#8221;</p>
<p>
      </br><br />
      <font face="Georgia" color="#000000" size="4">Silverlight </font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
          <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="333"><param name="source" value="http://www.paulyanez.com/interactive/blog/CustomButtonEffect/CustomButtonEffects.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"> <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/> </a><br />
          </object><br />
          <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
        </div>
</p></form>
<p>
    </br></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Import an image and place on the artboard</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/imageImport.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/imageImport.jpg" alt="imageImport" title="imageImport" width="276" height="152" class="alignleft size-full wp-image-1400" /></a></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Add a rectangle with a radial gradient the same width and height as the image</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/radialgradient.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/radialgradient.jpg" alt="radialgradient" title="radialgradient" width="276" height="152" class="alignleft size-full wp-image-1402" /></a></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Add a rectangle with no fill and grey color as the border</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/border.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/border.jpg" alt="border" title="border" width="276" height="152" class="alignleft size-full wp-image-1403" /></a></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Select all 3 objects</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/selectall.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/selectall.jpg" alt="selectall" title="selectall" width="640" height="243" class="alignleft size-full wp-image-1407" /></a></td>
</tr>
<tr>
<td align="left">
<br /></br><font face="Georgia" color="#000000" size="2">Group into a canvas</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/canvas.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/canvas.jpg" alt="canvas" title="canvas" width="640" height="296" class="alignleft size-full wp-image-1404" /></a>
</td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Right click and select make into usercontrol, select button as the type of usercontrol you want to create</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/controlwindow.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/controlwindow.jpg" alt="controlwindow" title="controlwindow" width="488" height="583" class="alignleft size-full wp-image-1406" /></a></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Right click and select &#8220;edit template/edit current&#8221;, select the states panel and go to the &#8220;mouseover&#8221; state and set the gradient&#8217;s opacity property to &#8220;0&#8243; and change the stroke color of the rectangle from grey to white</font></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/mouseover.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/mouseover.jpg" alt="mouseover" title="mouseover" width="643" height="252" class="alignleft size-full wp-image-1408" /></a></td>
</tr>
<tr>
<td>
<br /></br><font face="Georgia" color="#000000" size="2">Change the transition duration to 0.3 sec and set the transition to &#8220;cubic in&#8221;</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/transition.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/transition.jpg" alt="transition" title="transition" width="643" height="370" class="alignleft size-full wp-image-1409" /></a>
  </td>
</tr>
</table>
<p><font face="Georgia" color="#000000" size="4">XAML code</font> </p>
<pre class="brush: xml;">
      &lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
	x:Class=&quot;CustomButtonEffects.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;325&quot; mc:Ignorable=&quot;d&quot;&gt;
        &lt;Grid x:Name=&quot;LayoutRoot&quot;&gt;
          &lt;Grid.Background&gt;
            &lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
              &lt;GradientStop Color=&quot;Black&quot; Offset=&quot;0&quot;/&gt;
              &lt;GradientStop Color=&quot;#FF353535&quot; Offset=&quot;1&quot;/&gt;
            &lt;/LinearGradientBrush&gt;
          &lt;/Grid.Background&gt;
          &lt;TextBlock Height=&quot;53&quot; Margin=&quot;124,0,120,71&quot; VerticalAlignment=&quot;Bottom&quot; FontSize=&quot;34.667&quot; TextWrapping=&quot;Wrap&quot; HorizontalAlignment=&quot;Center&quot; FontFamily=&quot;Fonts/Fonts.zip#Myriad Pro&quot;&gt;
            &lt;TextBlock.Foreground&gt;
              &lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
                &lt;GradientStop Color=&quot;#FFE0E0E0&quot; Offset=&quot;0&quot;/&gt;
                &lt;GradientStop Color=&quot;#FF585858&quot; Offset=&quot;1&quot;/&gt;
              &lt;/LinearGradientBrush&gt;
            &lt;/TextBlock.Foreground&gt;
            &lt;TextBlock.Effect&gt;
              &lt;DropShadowEffect BlurRadius=&quot;2&quot; Opacity=&quot;0.5&quot; ShadowDepth=&quot;2&quot;/&gt;
            &lt;/TextBlock.Effect&gt;
            &lt;Run Text=&quot;Custom Button Effects&quot;/&gt;
            &lt;LineBreak/&gt;
          &lt;/TextBlock&gt;
          &lt;TextBlock Height=&quot;52&quot; Margin=&quot;161,0,157,19&quot; VerticalAlignment=&quot;Bottom&quot; FontSize=&quot;16&quot; Foreground=&quot;White&quot; TextWrapping=&quot;Wrap&quot; FontFamily=&quot;Fonts/Fonts.zip#Myriad Pro&quot; Text=&quot;Rollover the buttons to see the effect .&quot; TextAlignment=&quot;Center&quot;/&gt;
          &lt;Button Margin=&quot;220,69,220,155&quot; Style=&quot;{StaticResource ButtonImageGradient}&quot; Content=&quot;Button&quot;/&gt;
          &lt;Button Margin=&quot;18,69,0,155&quot; Style=&quot;{StaticResource ButtonImageGradient}&quot; Content=&quot;Button&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;200&quot;/&gt;
          &lt;Button Margin=&quot;0,69,18,155&quot; Style=&quot;{StaticResource ButtonImageGradient}&quot; Content=&quot;Button&quot; HorizontalAlignment=&quot;Right&quot; Width=&quot;200&quot;/&gt;
        &lt;/Grid&gt;
      &lt;/UserControl&gt;
      </pre>
<p>
      </br><br />
      <font face="Georgia" color="#000000" size="4">XAML code &#8211; Resource Dictionary</font>
<pre class="brush: xml;">
      &lt;ResourceDictionary
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot; xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; mc:Ignorable=&quot;d&quot;&gt;
        &lt;!-- Resource dictionary entries should be defined here. --&gt;
        &lt;Style x:Key=&quot;ButtonImageGradient&quot; TargetType=&quot;Button&quot;&gt;
		&lt;Setter Property=&quot;Template&quot;&gt;
			&lt;Setter.Value&gt;
				&lt;ControlTemplate TargetType=&quot;Button&quot;&gt;
					&lt;Canvas&gt;
						&lt;VisualStateManager.VisualStateGroups&gt;
							&lt;VisualStateGroup x:Name=&quot;FocusStates&quot;&gt;
								&lt;VisualState x:Name=&quot;Focused&quot;/&gt;
								&lt;VisualState x:Name=&quot;Unfocused&quot;/&gt;
							&lt;/VisualStateGroup&gt;
							&lt;VisualStateGroup x:Name=&quot;CommonStates&quot;&gt;
								&lt;VisualStateGroup.Transitions&gt;
									&lt;VisualTransition GeneratedDuration=&quot;00:00:00.3000000&quot;&gt;
										&lt;VisualTransition.GeneratedEasingFunction&gt;
											&lt;CubicEase EasingMode=&quot;EaseIn&quot;/&gt;
										&lt;/VisualTransition.GeneratedEasingFunction&gt;
									&lt;/VisualTransition&gt;
								&lt;/VisualStateGroup.Transitions&gt;
								&lt;VisualState x:Name=&quot;Normal&quot;&gt;
									&lt;Storyboard&gt;
										&lt;ColorAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Duration=&quot;00:00:00.0010000&quot; Storyboard.TargetName=&quot;BorderOutline&quot; Storyboard.TargetProperty=&quot;(Shape.Stroke).(SolidColorBrush.Color)&quot;&gt;
											&lt;EasingColorKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;#7E575757&quot;/&gt;
										&lt;/ColorAnimationUsingKeyFrames&gt;
									&lt;/Storyboard&gt;
								&lt;/VisualState&gt;
								&lt;VisualState x:Name=&quot;MouseOver&quot;&gt;
									&lt;Storyboard&gt;
										&lt;ColorAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Duration=&quot;00:00:00.0010000&quot; Storyboard.TargetName=&quot;BorderOutline&quot; Storyboard.TargetProperty=&quot;(Shape.Stroke).(SolidColorBrush.Color)&quot;&gt;
											&lt;EasingColorKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;White&quot;/&gt;
										&lt;/ColorAnimationUsingKeyFrames&gt;
										&lt;DoubleAnimationUsingKeyFrames BeginTime=&quot;00:00:00&quot; Duration=&quot;00:00:00.0010000&quot; Storyboard.TargetName=&quot;ButtonGradient&quot; Storyboard.TargetProperty=&quot;(UIElement.Opacity)&quot;&gt;
											&lt;EasingDoubleKeyFrame KeyTime=&quot;00:00:00&quot; Value=&quot;0&quot;/&gt;
										&lt;/DoubleAnimationUsingKeyFrames&gt;
									&lt;/Storyboard&gt;
								&lt;/VisualState&gt;
								&lt;VisualState x:Name=&quot;Pressed&quot;/&gt;
								&lt;VisualState x:Name=&quot;Disabled&quot;/&gt;
							&lt;/VisualStateGroup&gt;
						&lt;/VisualStateManager.VisualStateGroups&gt;
						&lt;Image Height=&quot;100&quot; Source=&quot;Image1.png&quot; Stretch=&quot;Fill&quot;/&gt;
						&lt;Rectangle x:Name=&quot;ButtonGradient&quot; Height=&quot;100&quot; Width=&quot;200&quot;&gt;
							&lt;Rectangle.Fill&gt;
								&lt;RadialGradientBrush RadiusX=&quot;0.657&quot; RadiusY=&quot;0.617&quot;&gt;
									&lt;GradientStop Offset=&quot;0&quot;/&gt;
									&lt;GradientStop Color=&quot;#C1000000&quot; Offset=&quot;1&quot;/&gt;
								&lt;/RadialGradientBrush&gt;
							&lt;/Rectangle.Fill&gt;
						&lt;/Rectangle&gt;
						&lt;Rectangle x:Name=&quot;BorderOutline&quot; Fill=&quot;{x:Null}&quot; Stroke=&quot;#7E808080&quot; Height=&quot;101&quot; Width=&quot;200&quot;/&gt;
					&lt;/Canvas&gt;
				&lt;/ControlTemplate&gt;
			&lt;/Setter.Value&gt;
		&lt;/Setter&gt;
	&lt;/Style&gt;
      &lt;/ResourceDictionary&gt;
      </pre>
<p>
    </br></td>
</tr>
<p>  <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/creating-custom-silverlight-buttons-with-images-gradients-and-transitions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Expression Blend Tip #2 in Rendering Effects</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-2-in-rendering-effects/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-2-in-rendering-effects/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 00:48:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[artboard]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[zoom]]></category>
		<category><![CDATA[zoom threshold]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1373</guid>
		<description><![CDATA[In a previous tip I showed how Expression Blend does not render effects if you are zoomed in above 400%. More times than not I am zoomed in well above 400% when I am designing UI components. I found out (...)]]></description>
			<content:encoded><![CDATA[<p>In a <a href="http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-in-rendering-effects/">previous tip</a> I showed how Expression Blend does not render effects if you are zoomed in above 400%. More times than not I am zoomed in well above 400% when I am designing UI components. <span id="more-1373"></span>I found out how to change the zoom setting to 800% and render the effects properly and allow me to design how I am accustomed to.</p>
<p>To change the percentage that effects will be rendered<br />
1-  Go to Tools/Options<br />
2- Select &#8220;Artboard&#8221; from the list<br />
3- Change the &#8220;Zoom threshold&#8221; from 400% to 800%</p>
<p><font face="Georgia" color="#000000" size="4">Effects now render even when zoomed in at 800%</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/effect.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/effect.jpg" alt="effect" title="effect" width="640" height="344" class="alignleft size-full wp-image-1370" /></a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/options.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/options.jpg" alt="options" title="options" width="638" height="380" class="alignleft size-full wp-image-1371" /></a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/zoom.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/zoom.jpg" alt="zoom" title="zoom" width="520" height="520" class="alignleft size-full wp-image-1372" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-2-in-rendering-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gradient capabilities in Silverlight fonts</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/gradient-capabilities-in-silverlight-fonts/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/gradient-capabilities-in-silverlight-fonts/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 02:52:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[artboard]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1336</guid>
		<description><![CDATA[In the following tutorial I will show how extensive the font capabilities in Silverlight are. Being able to display beautiful fonts within xaml allows the ability to programmatically alter a designed font with gradients and drop shadows applied. 1- place (...)]]></description>
			<content:encoded><![CDATA[<p>In the following tutorial I will show how extensive the font capabilities in Silverlight are. Being able to display beautiful fonts within xaml allows the ability to programmatically alter a designed font with gradients and drop shadows applied. <span id="more-1336"></span></p>
<p>1- place text on artboard<br />
2- select the gradient tab on the properties panel and apply any style gradient </p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Silverlight </font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" ><param name="source" value="http://www.paulyanez.com/interactive/blog/FontGradient/TextGradient.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
	x:Class=&quot;TextGradient.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;480&quot; mc:Ignorable=&quot;d&quot;&gt;
	&lt;Grid x:Name=&quot;LayoutRoot&quot; Margin=&quot;0,0,0,147&quot; Background=&quot;White&quot;&gt;
		&lt;Rectangle Margin=&quot;10&quot;&gt;
			&lt;Rectangle.Fill&gt;
				&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
					&lt;GradientStop Color=&quot;Black&quot; Offset=&quot;0&quot;/&gt;
					&lt;GradientStop Color=&quot;#FF555555&quot; Offset=&quot;1&quot;/&gt;
				&lt;/LinearGradientBrush&gt;
			&lt;/Rectangle.Fill&gt;
		&lt;/Rectangle&gt;
		&lt;TextBlock Margin=&quot;233,105,11,0&quot; FontSize=&quot;40&quot; TextWrapping=&quot;Wrap&quot; Text=&quot;Silverlight 4 is Here!&quot; Height=&quot;53&quot; VerticalAlignment=&quot;Top&quot; FontFamily=&quot;Fonts/Fonts.zip#Myriad Pro&quot;&gt;&lt;TextBlock.Foreground&gt;
				&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
					&lt;GradientStop Color=&quot;#FFE0E0E0&quot; Offset=&quot;0&quot;/&gt;
					&lt;GradientStop Color=&quot;#FF585858&quot; Offset=&quot;1&quot;/&gt;
				&lt;/LinearGradientBrush&gt;
			&lt;/TextBlock.Foreground&gt;
			&lt;TextBlock.Effect&gt;
				&lt;DropShadowEffect BlurRadius=&quot;2&quot; Color=&quot;#FF161616&quot; Opacity=&quot;0.78&quot; ShadowDepth=&quot;3&quot;/&gt;
			&lt;/TextBlock.Effect&gt;
		&lt;/TextBlock&gt;
		&lt;TextBlock Margin=&quot;233,162,34,92&quot; FontSize=&quot;21.333&quot; Foreground=&quot;White&quot; TextWrapping=&quot;Wrap&quot; FontFamily=&quot;Fonts/Fonts.zip#Myriad Pro&quot; Text=&quot;Get started designing and developing with  Silverlight 4 today&quot;/&gt;
		&lt;Image HorizontalAlignment=&quot;Left&quot; Margin=&quot;31,77,0,85&quot; Width=&quot;157&quot; Source=&quot;silverlight.png&quot;/&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Related links</font></p>
<p><a href="http://paulyanez.com/interactive/index.php/2010/01/reversing-gradient-stops-in-silverlight/">Reversing Gradient stops in Silverlight</a><br />
<a href="http://paulyanez.com/interactive/index.php/2009/12/embedding-fonts-in-silverlight/">Embedding fonts in Silverlight</a></p>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/gradient-capabilities-in-silverlight-fonts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Expression Blend Tip in Rendering Effects</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-in-rendering-effects/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-in-rendering-effects/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 09:55:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[expression blend]]></category>
		<category><![CDATA[rendering]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[zoom]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1317</guid>
		<description><![CDATA[This is a tip for developers using Expression Blend creating effects. Effects do not render if you are zoomed in above 400%. More times than not I am zoomed in well above 400% when I am designing UI components. So (...)]]></description>
			<content:encoded><![CDATA[<p>This is a tip for developers using Expression Blend creating effects. Effects do not render if you are zoomed in above 400%. More times than not I am zoomed in well above 400% when I am designing UI components. <span id="more-1317"></span>So I was confused as to why I couldn&#8217;t see the rollover effect that I was applying to my  component. </p>
<p><font face="Georgia" color="#000000" size="4">Zoomed in at 800%, effects are not visible</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/800percent.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/800percent.jpg" alt="800percent" title="800percent" width="463" height="432" class="aligncenter size-full wp-image-1318" /></a></p>
<p><font face="Georgia" color="#000000" size="4">Zoomed in at 400%, effects render</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/400percent.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/400percent.jpg" alt="400percent" title="400percent" width="237" height="226" class="aligncenter size-full wp-image-1319" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/expression-blend-tip-in-rendering-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fluid layout and Fullscreen in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-and-fullscreen-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-and-fullscreen-in-silverlight/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 03:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fluid layout]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1305</guid>
		<description><![CDATA[In this tutorial we will have a Silverlight application take up the entire webpage and have the capablity to go fullscreen. This will allow you to create Silverlight applications that take up 100% of the width and height of html (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will have a Silverlight application take up the entire webpage and have the capablity to go fullscreen. This will allow you to create Silverlight applications that take up 100% of the width and height of html pages.<span id="more-1305"></span></p>
<p>1- Place a rectangle on the stage<br />
2- Set the margins to Margin=&#8221;8,8,8,42&#8243; which will place the rectangle at 8 from the left, right and top and 42 from the bottom.<br />
3- Place a button on the stage and set its width to 120<br />
4- With the button selected select the &#8220;events&#8221; panel<br />
5- Enter &#8220;toggleFullscreen&#8221; on the Click event<br />
6- Add code to handle the toggling of the fullscreen window status</p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Click the button to go Fullscreen and have a fluid layout</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="480"><param name="source" value="http://www.paulyanez.com/interactive/blog/Fullscreen/Fullscreen.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; mc:Ignorable=&quot;d&quot;
	x:Class=&quot;Fullscreen.MainPage&quot; d:DesignWidth=&quot;710&quot; d:DesignHeight=&quot;420&quot;&gt;

	&lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;White&quot;&gt;
		&lt;Rectangle Margin=&quot;8,8,8,42&quot; Stroke=&quot;Black&quot;&gt;
			&lt;Rectangle.Fill&gt;
				&lt;LinearGradientBrush EndPoint=&quot;0.5,1&quot; StartPoint=&quot;0.5,0&quot;&gt;
					&lt;GradientStop Color=&quot;Black&quot; Offset=&quot;1&quot;/&gt;
					&lt;GradientStop Color=&quot;#FF5D5F60&quot;/&gt;
				&lt;/LinearGradientBrush&gt;
			&lt;/Rectangle.Fill&gt;
		&lt;/Rectangle&gt;
		&lt;Button Content=&quot;Button&quot; Height=&quot;30&quot; Margin=&quot;252,0,232,8&quot; VerticalAlignment=&quot;Bottom&quot; Click=&quot;toggleFullscreen&quot; Width=&quot;120&quot; HorizontalAlignment=&quot;Center&quot;/&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Fullscreen
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
		}

		private void toggleFullscreen(object sender, System.Windows.RoutedEventArgs e)
		{
			if (Application.Current.Host.Content.IsFullScreen)
			{
				Application.Current.Host.Content.IsFullScreen = false;
			}
			else
			{
				Application.Current.Host.Content.IsFullScreen = true;
			}
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/fluid-layout-and-fullscreen-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Bimmer</title>
		<link>http://paulyanez.com/interactive/index.php/2010/04/new-bimmer/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/04/new-bimmer/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 05:04:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[bmw]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1291</guid>
		<description><![CDATA[I finally got my new Bimmer today&#8230; My kids posing.]]></description>
			<content:encoded><![CDATA[<p>I finally got my new Bimmer today&#8230;<span id="more-1291"></span></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw2.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw2.jpg" alt="bmw2" title="bmw2" width="100%" class="aligncenter size-full wp-image-1294" /></a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw3.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw3.jpg" alt="bmw3" title="bmw3" width="100%" class="aligncenter size-full wp-image-1296" /></a>My kids posing.<br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw4.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/04/bmw4.jpg" alt="bmw4" title="bmw4" width="100%" class="aligncenter size-full wp-image-1298" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/04/new-bimmer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Windows Phone 7 Twitter Application using Silverlight in Blend 4 &#8211; Part2</title>
		<link>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4-part2/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4-part2/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 10:15:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[silverlight 4]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1278</guid>
		<description><![CDATA[This is part 2 of &#8220;Building a Windows Phone 7 Twitter Application using Silverlight in Blend 4&#8243;. In this tutorial we will build a Twitter user profile screen. You will be able to display the user image, follower count, friend (...)]]></description>
			<content:encoded><![CDATA[<p>This is part 2 of &#8220;Building a Windows Phone 7 Twitter Application using Silverlight in Blend 4&#8243;. In this tutorial we will build a Twitter user profile screen. You will be able to display the user image, follower count, friend count, status post count, user description and load the user page background image.<span id="more-1278"></span></p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4/">Search by Twitter User status</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4-part2/">Display Twitter user details</a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Screenshot of user profile screen</font></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/userscreen.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/userscreen.jpg" alt="userscreen" title="userscreen" width="377" height="750" class="aligncenter size-full wp-image-1280" /></a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;phoneNavigation:PhoneApplicationPage
    x:Class=&quot;WindowsPhoneApplication2.MainPage&quot;
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    xmlns:phoneNavigation=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation&quot;
    xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;
    xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
    mc:Ignorable=&quot;d&quot; d:DesignWidth=&quot;480&quot; d:DesignHeight=&quot;800&quot;
    FontFamily=&quot;{StaticResource PhoneFontFamilyNormal}&quot;
    FontSize=&quot;{StaticResource PhoneFontSizeNormal}&quot;
    Foreground=&quot;{StaticResource PhoneForegroundBrush}&quot;&gt;

    &lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;#FF1D88EE&quot;&gt;
        &lt;Grid.RowDefinitions&gt;
            &lt;RowDefinition Height=&quot;Auto&quot;/&gt;
            &lt;RowDefinition Height=&quot;*&quot;/&gt;
        &lt;/Grid.RowDefinitions&gt;
        &lt;Grid x:Name=&quot;TitleGrid&quot; Grid.Row=&quot;0&quot;/&gt;
        &lt;Grid x:Name=&quot;ContentGrid&quot; Grid.Row=&quot;1&quot;&gt;
        	&lt;Image x:Name=&quot;gradient&quot; Margin=&quot;0,0,2,0&quot; Source=&quot;Image1.png&quot; Stretch=&quot;Fill&quot; Height=&quot;800&quot;/&gt;
        	&lt;Button x:Name=&quot;search_Button&quot; Content=&quot;Search&quot; HorizontalAlignment=&quot;Right&quot; Height=&quot;79&quot; Margin=&quot;0,190,0,0&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;198&quot; Click=&quot;lookup_Click&quot; Background=&quot;#FF529DE9&quot;/&gt;
        	&lt;Image x:Name=&quot;imgBackground&quot; Margin=&quot;8,273,8,8&quot; Stretch=&quot;UniformToFill&quot;/&gt;
        	&lt;TextBox x:Name=&quot;username&quot; Height=&quot;79&quot; Margin=&quot;-4,190,184,0&quot; TextWrapping=&quot;Wrap&quot; VerticalAlignment=&quot;Top&quot; Background=&quot;#FF124F8B&quot; BorderBrush=&quot;White&quot; Width=&quot;300&quot; FontSize=&quot;24&quot; SelectionForeground=&quot;#FF529DE9&quot; Foreground=&quot;#FF529DE9&quot; SelectionBackground=&quot;#FF9B3030&quot; CaretBrush=&quot;#FF0D325B&quot;/&gt;
        					&lt;Image x:Name=&quot;img&quot; Width=&quot;100&quot; Margin=&quot;24,312,0,388&quot; HorizontalAlignment=&quot;Left&quot;/&gt;
        						&lt;TextBlock x:Name=&quot;twittername&quot; Margin=&quot;163,303,17,0&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;40&quot; Height=&quot;83&quot; VerticalAlignment=&quot;Top&quot; Foreground=&quot;Black&quot; /&gt;

        	&lt;Image x:Name=&quot;header&quot; Height=&quot;196&quot; Source=&quot;Image3.png&quot; Stretch=&quot;Fill&quot; VerticalAlignment=&quot;Top&quot; Margin=&quot;-2,0,0,0&quot;/&gt;
        	&lt;TextBlock x:Name=&quot;followers&quot; Margin=&quot;170,0,21,323&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock Margin=&quot;23,0,0,323&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;150&quot; Text=&quot;Followers:&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock x:Name=&quot;friends&quot; Margin=&quot;170,0,21,272&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock Margin=&quot;23,0,0,272&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;150&quot; Text=&quot;Friends:&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock x:Name=&quot;statuses&quot; Margin=&quot;170,0,21,214&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock Margin=&quot;23,0,0,214&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;150&quot; Text=&quot;Statuses:&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock x:Name=&quot;description&quot; Margin=&quot;170,0,21,31&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; Height=&quot;166&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        	&lt;TextBlock Margin=&quot;23,0,0,156&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;26.667&quot; HorizontalAlignment=&quot;Left&quot; Width=&quot;150&quot; Text=&quot;Description:&quot; Height=&quot;41&quot; VerticalAlignment=&quot;Bottom&quot; Foreground=&quot;Black&quot; /&gt;
        &lt;/Grid&gt;
    &lt;/Grid&gt;
&lt;/phoneNavigation:PhoneApplicationPage&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Xml.Linq;
using System.Windows.Media.Imaging;

namespace WindowsPhoneApplication2
{
    public partial class MainPage : PhoneApplicationPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

		    private void lookup_Click(object sender, System.Windows.RoutedEventArgs e)
        {
        	WebClient twitter = new WebClient();
			twitter.DownloadStringCompleted += new DownloadStringCompletedEventHandler(twitter_DownloadStringCompleted);
			twitter.DownloadStringAsync(new Uri(&quot;http://twitter.com/users/&quot; + username.Text +&quot;.xml&quot;));
		}

		void twitter_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
		{
			if(e.Error != null)
				return;

			XElement xmlTweets = XElement.Parse(e.Result);
			img.Source = new BitmapImage(new Uri(xmlTweets.Element(&quot;profile_image_url&quot;).Value, UriKind.Absolute));
			twittername.Text = xmlTweets.Element(&quot;name&quot;).Value;
			followers.Text = xmlTweets.Element(&quot;followers_count&quot;).Value;
			friends.Text = xmlTweets.Element(&quot;friends_count&quot;).Value;
			statuses.Text = xmlTweets.Element(&quot;statuses_count&quot;).Value;
			description.Text = xmlTweets.Element(&quot;description&quot;).Value;
			imgBackground.Source = new BitmapImage(new Uri(xmlTweets.Element(&quot;profile_background_image_url&quot;).Value, UriKind.Absolute));
		}
    }
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4-part2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone Application Tip in Blend 4</title>
		<link>http://paulyanez.com/interactive/index.php/2010/03/windows-phone-application-tip-in-blend-4/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/03/windows-phone-application-tip-in-blend-4/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 09:41:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blend 4]]></category>
		<category><![CDATA[SupportedOrientations]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1261</guid>
		<description><![CDATA[This is a tip for developers using Blend 4 to create Windows Phone Applications. By default it seems that the ability to rotate the emulator and it contents is not set. A bit of code is necessary to have the (...)]]></description>
			<content:encoded><![CDATA[<p>This is a tip for developers using Blend 4 to create Windows Phone Applications. By default it seems that the ability to rotate the emulator and it contents is not set. A bit of code is necessary to have the contents of the application rotate properly with the emulator.<span id="more-1261"></span></p>
<p>Note: In Visual Studio the code is included, this is a Blend 4 specific issue.</p>
<p><font face="Georgia" color="#000000" size="4">Default behavior</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/phone-wrong.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/phone-wrong.jpg" alt="phone-wrong" title="phone-wrong" width="640" class="aligncenter size-full wp-image-1267" /></a></p>
<p><font face="Georgia" color="#000000" size="4">After applying code</font><br />
<a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/phone-good.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/phone-good.jpg" alt="phone-good" title="phone-good" width="640" class="aligncenter size-full wp-image-1268" /></a><br />
<font face="Georgia" color="#000000" size="4">C# code &#8211; Add line 21 SupportedOrientations = </font></p>
<pre class="brush: xml;">
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;

namespace OrientationTest
{
    public partial class MainPage : PhoneApplicationPage
    {
        public MainPage()
        {
            InitializeComponent();
			SupportedOrientations = SupportedPageOrientation.Portrait | SupportedPageOrientation.Landscape;
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/03/windows-phone-application-tip-in-blend-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Windows Phone 7 Twitter Application using Silverlight in Blend 4</title>
		<link>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:55:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[silverlight 4]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1189</guid>
		<description><![CDATA[First I would like to say that the code is from Scott Gu&#8217;s article Building a Windows Phone 7 Twitter Application using Silverlight. I am very excited that Silverlight will soon be capable of working on Windows Phones. Designing for (...)]]></description>
			<content:encoded><![CDATA[<p>First I would like to say that the code is from Scott Gu&#8217;s article <a href="http://weblogs.asp.net/scottgu/archive/2010/03/18/building-a-windows-phone-7-twitter-application-using-silverlight.aspx">Building a Windows Phone 7 Twitter Application using Silverlight</a>. I am very excited that Silverlight will soon be capable of working on Windows Phones. <span id="more-1189"></span>Designing for the phone brings numerous design and user experience problems not associated with the average 20-30 inch computer monitors. About 6 months ago I began tackling those problems in my previous Blend tutorials for <a href="Exploring the Canvas control in Microsoft Expression Blend 3">layout</a>, <a href="http://paulyanez.com/interactive/index.php/2009/10/introduction-to-animation-in-microsoft-expression-blend-3/">animation </a>and <a href="Creating a Silverlight video player in Microsoft Expression Blend 3">video</a> within a iPhone interface.</p>
<p><font face="Georgia" color="#000000" size="4">Goal, I wanted to see if I could extend Scott&#8217;s app to do the following:</font></p>
<p>Add a custom design<br />
Add functionality &#8211; currently you can only look up a user&#8217;s timeline. The goal would be to be able to post, search etc to Twitter, basically a full fledged Twitter application. This tutorial tackles the design.<br />
Add a main screen to access the different screens with animation for the screen changes.</p>
<p><font face="Georgia" color="#000000" size="4">Challenges</font><br />
Gradients in Blend 4 seem to not work well as of yet. A major part of my design was to use a gradient as a background but using a rectangle with a gradient produced banding. As a last resort I imported a gradient jpg and it produced slightly better results.</p>
<p>The 100% UI size in Blend is not the same as the emulator. If you want to design to the emulator the dimensions are 335&#215;558.<br />
If you want the UI in Blend to match the emulator set the layout to 70%. </p>
<p>To remove the default color of the list box Property=&#8221;Background&#8221; Value=&#8221;Transparent&#8221;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4/">Search by Twitter User status</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4-part2/">Display Twitter user details</a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Screenshots of original app and new design applied</font></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/twitter-phone.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/twitter-phone.jpg" alt="twitter-phone" title="twitter-phone" width="600" height="600" class="aligncenter size-full wp-image-1201" /></a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;phoneNavigation:PhoneApplicationPage
    x:Class=&quot;WindowsPhoneApplication2.MainPage&quot;
    xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
    xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
    xmlns:phoneNavigation=&quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation&quot;
    xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot;
    xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
    mc:Ignorable=&quot;d&quot; d:DesignWidth=&quot;480&quot; d:DesignHeight=&quot;800&quot;
    FontFamily=&quot;{StaticResource PhoneFontFamilyNormal}&quot;
    FontSize=&quot;{StaticResource PhoneFontSizeNormal}&quot;
    Foreground=&quot;{StaticResource PhoneForegroundBrush}&quot;&gt;

    &lt;Grid x:Name=&quot;LayoutRoot&quot; Background=&quot;#FF1D88EE&quot;&gt;
        &lt;Grid.RowDefinitions&gt;
            &lt;RowDefinition Height=&quot;Auto&quot;/&gt;
            &lt;RowDefinition Height=&quot;*&quot;/&gt;
        &lt;/Grid.RowDefinitions&gt;
        &lt;Grid x:Name=&quot;TitleGrid&quot; Grid.Row=&quot;0&quot;/&gt;
        &lt;Grid x:Name=&quot;ContentGrid&quot; Grid.Row=&quot;1&quot;&gt;
        	&lt;Image x:Name=&quot;gradient&quot; Margin=&quot;0,0,2,0&quot; Source=&quot;Image1.png&quot; Stretch=&quot;Fill&quot; Height=&quot;800&quot;/&gt;
        	&lt;Button x:Name=&quot;search_Button&quot; Content=&quot;Lookup&quot; HorizontalAlignment=&quot;Right&quot; Height=&quot;79&quot; Margin=&quot;0,190,0,0&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;198&quot; Click=&quot;lookup_Click&quot; Background=&quot;#FF529DE9&quot;/&gt;
        	&lt;TextBox x:Name=&quot;username&quot; Height=&quot;79&quot; Margin=&quot;-4,190,184,0&quot; TextWrapping=&quot;Wrap&quot; VerticalAlignment=&quot;Top&quot; Background=&quot;#FF124F8B&quot; BorderBrush=&quot;White&quot; Width=&quot;300&quot; FontSize=&quot;24&quot; SelectionForeground=&quot;#FF529DE9&quot; Text=&quot;paulyanez&quot; Foreground=&quot;#FF529DE9&quot; SelectionBackground=&quot;#FF9B3030&quot; CaretBrush=&quot;#FF0D325B&quot;/&gt;
        	&lt;ListBox Height=&quot;516&quot; Margin=&quot;2,284,2,0&quot; x:Name=&quot;listBox1&quot; VerticalAlignment=&quot;Top&quot; Width=&quot;476&quot; &gt;
        		&lt;ListBox.ItemContainerStyle&gt;
        			&lt;Style TargetType=&quot;ListBoxItem&quot;&gt;
        				&lt;Setter Property=&quot;Background&quot; Value=&quot;Transparent&quot;/&gt;
        			&lt;/Style&gt;
        		&lt;/ListBox.ItemContainerStyle&gt;
        		&lt;ListBox.ItemTemplate&gt;
        			&lt;DataTemplate&gt;
        				&lt;StackPanel Orientation=&quot;Horizontal&quot; Height=&quot;110&quot; Background=&quot;#33000000&quot; Margin=&quot;-10,-10,-10,-10&quot;&gt;
        					&lt;Image Source=&quot;{Binding ImageSource}&quot; Height=&quot;73&quot; Width=&quot;73&quot; VerticalAlignment=&quot;Top&quot; Margin=&quot;10,10,8,10&quot;/&gt;
        					&lt;StackPanel Width=&quot;370&quot;&gt;
        						&lt;TextBlock Text=&quot;{Binding Message}&quot; Margin=&quot;10&quot; TextWrapping=&quot;Wrap&quot; FontSize=&quot;18&quot; /&gt;
        					&lt;/StackPanel&gt;
        				&lt;/StackPanel&gt;
        			&lt;/DataTemplate&gt;
        		&lt;/ListBox.ItemTemplate&gt;
        	&lt;/ListBox&gt;
        	&lt;Image x:Name=&quot;header&quot; Height=&quot;196&quot; Source=&quot;Image3.png&quot; Stretch=&quot;Fill&quot; VerticalAlignment=&quot;Top&quot; Margin=&quot;-2,0,0,0&quot;/&gt;
        &lt;/Grid&gt;
    &lt;/Grid&gt;
&lt;/phoneNavigation:PhoneApplicationPage&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Xml.Linq;

namespace WindowsPhoneApplication2
{
    public partial class MainPage : PhoneApplicationPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

		    private void lookup_Click(object sender, System.Windows.RoutedEventArgs e)
        {
        	WebClient twitter = new WebClient();
			twitter.DownloadStringCompleted += new DownloadStringCompletedEventHandler(twitter_DownloadStringCompleted);
        	twitter.DownloadStringAsync(new Uri(&quot;http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=&quot; + username.Text ));
		}

		void twitter_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
		{
			if(e.Error != null)
				return;

			XElement xmlTweets = XElement.Parse(e.Result);

			listBox1.ItemsSource = from tweet in xmlTweets.Descendants(&quot;status&quot;)
				select new TwitterItem
			{
				ImageSource = tweet.Element(&quot;user&quot;).Element(&quot;profile_image_url&quot;).Value,
				Message = tweet.Element(&quot;text&quot;).Value,
				UserName = tweet.Element(&quot;user&quot;).Element(&quot;screen_name&quot;).Value
			};
		}
    }
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/03/building-a-windows-phone-7-twitter-application-using-silverlight-in-blend-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Press Release on MovieClips video player</title>
		<link>http://paulyanez.com/interactive/index.php/2010/03/press-release-on-movieclips-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/03/press-release-on-movieclips-video-player/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:52:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[movieclips]]></category>
		<category><![CDATA[press release]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1229</guid>
		<description><![CDATA[MOVIECLIPS.com Woos a Pirate to Build the Ultimate Movie Clip Viewing Player – Movie Buffs Rejoice! USERS CAN NOW EDIT CLIPS DIRECTLY AND CHOOSE THEIR OWN MOVIE MOMENTS SANTA MONICA, California (March 11, 2010) – MOVIECLIPS.com, home of the largest (...)]]></description>
			<content:encoded><![CDATA[<p><font face="Georgia" color="#000000" size="3">MOVIECLIPS.com Woos a Pirate to Build the Ultimate Movie Clip Viewing Player – Movie Buffs Rejoice! USERS CAN NOW EDIT CLIPS DIRECTLY AND CHOOSE THEIR OWN MOVIE MOMENTS</font><span id="more-1229"></span></p>
<p>SANTA MONICA, California (March 11, 2010) – MOVIECLIPS.com, home of the largest and most diverse collection of free, licensed movie scenes anywhere on the web, today launched a new media player, the Movieclips Player, custom-built by pirate developer Paul Yanez. The Movieclips Player is game-changing for film lovers, delivering clips in their original aspect ratio, and making it super-easy for users to find, edit, and share their favorite movie scenes. The announcement was made by MOVIECLIPS.com co-founders, Zach James and Rich Raddon.<br />
Yanez gained Internet notoriety last year when he created a rogue, open source media player that streamed Hulu content, ads and all, while Hulu was still in beta. He did this in his spare time. And he released it for free.<br />
“We wanted the ultimate movie clip player and we thought of Paul, he is the best,” said James, “ We were familiar with Paul’s controversy with Hulu when they shut down the stream, and we watched a very public cat-and-mouse game that in the end, nobody won &#8212; especially not movie lovers.”</p>
<p><font face="Georgia" color="#000000" size="3">The Movieclips Player’s four unique features:</font><br />
• Size matters: The Movieclips Player is one of the first embeddable players to respect the original aspect ratio of every feature film<br />
• Gives bloggers and Facebook users the tools to “trim-and-share” clips down to just their favorite movie quotes: “You talkin’ to me?”<br />
• Editing and sharing happens within the Movieclips Player environment – the toolbar just slides up to reveal more tools<br />
• Full movie dialogue search engine built into every player<br />
“Only people who care about films as much as we do would go to this length to ensure a great viewing experience.” said Raddon, former Director of the Los Angeles Film Festival. “We had the chance to set a new standard, and to actually rethink how to connect with movies online. We made it easy to watch a clip from Inglourious Basterds or Elf, edit the clip down to your favorite quote, and share it on Facebook or a blog, etc.<br />
You can also learn more about the film or see related clips, search full dialogue or buy the DVD &#8211; we built that into a single, elegant player, so everything is only a click away.”<br />
“In the end, it’s just a player,” added James. “But how we approached this player &#8211; who we hired to build it and why we incorporated these features &#8211; says something important about how we view the world and why we started this company. By giving movie fans the tools to watch and share their favorite scenes easily, the studios suddenly have allies recommending their products. Every time a movie fan shares a clip from The Big Lebowski or This Is Spinal Tap on Facebook or on their blog, it’s a reminder to their friends of each movie’s value in our lives.”<br />
MOVIECLIPS.com took its service worldwide in late February and opened up access to its API for approved developers, giving this community the opportunity to innovate using MOVIECLIPS.com’s library of more than 12,000 clips, each tagged with rich metadata, Find and share clips from your favorite films, and get details about becoming an approved MOVIECLIPS.com developer, at movieclips.com.</p>
<p><font face="Georgia" color="#000000" size="3">About MOVIECLIPS.com</font><br />
Launched in December 2009, MOVIECLIPS.com is a premium online video destination offering audiences the largest and most diverse collection of movie scenes. MOVIECLIPS.com allows fans to find, watch and share more than 12,000 movie clips from the libraries of most major Hollywood studios. Each clip is tagged with up to 1,000 pieces of data (dialogue, actor, director, action, mood, etc) to make the most searchable collection of movie scenes on the web. Go to movieclips.com for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/03/press-release-on-movieclips-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vinny&#8217;s first design gig</title>
		<link>http://paulyanez.com/interactive/index.php/2010/03/vinnys-first-design-gig/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/03/vinnys-first-design-gig/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 22:18:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[adobe illustrator]]></category>
		<category><![CDATA[shirt]]></category>
		<category><![CDATA[Vinny Yanez]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1152</guid>
		<description><![CDATA[You gotta love Facebook and the power of the internet. After Vinny posted his illustration of the Hulk within days was offered a project to make a company logo. A friend of a friend needed some Adobe Illustrator work done (...)]]></description>
			<content:encoded><![CDATA[<p>You gotta love Facebook and the power of the internet. After Vinny posted <a href="http://paulyanez.com/interactive/index.php/2010/01/vinnys-second-illustration/">his illustration of the Hulk</a> within days was offered a project to make a company logo. A friend of a friend needed some Adobe Illustrator work done and my friend thought of Vinny. <span id="more-1152"></span>After seeing the logo, the owner of Concentric Clothing  asked Vinny if he wanted to continue with a new project. Redoing the clothing line&#8217;s shirt artwork in Adobe Illustrator, see below. </p>
<table width="640">
<tr>
<td><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/female_angelic.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/female_angelic.jpg" alt="female_angelic" title="female_angelic" height="350" class="alignnone size-medium wp-image-1160" /></a>  <a href="http://paulyanez.com/interactive/wp-content/uploads/2010/03/Female_Angelic_Harmony.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/03/Female_Angelic_Harmony.jpg" alt="Female_Angelic_Harmony" title="Female_Angelic_Harmony" height="350" class="alignnone size-medium wp-image-1161" /></a></td>
</tr>
</table>
<table width="640">
<tr>
<td width="150"><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg" alt="profile" title="profile" width="150"  class="alignnone size-full wp-image-1053" /></a></td>
<td width="15">&nbsp;</td>
<td valign="top"></br><br />
My son Vinny just turned 8 and he has been designing and developing on his computer for years. This is his first professional project. <!--more-->Vinny is becoming very independent deciding to buy 2 pizza pies for the family on a Monday night instead of the usual Friday pizza night.<br /></br> <br /></br></p>
<p>Vinny created all the inks and coloring in Adobe Illustrator CS4. <br /></br></p>
<p>To see larger versions click on the images above.</p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/03/vinnys-first-design-gig/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Did Adobe get advice from Leon on how to respond to Steve Jobs?</title>
		<link>http://paulyanez.com/interactive/index.php/2010/02/did-adobe-get-advice-from-leon-on-how-to-respond-to-steve-jobs/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/02/did-adobe-get-advice-from-leon-on-how-to-respond-to-steve-jobs/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 16:15:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[leon]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1132</guid>
		<description><![CDATA[A few days ago Steve Jobs said that Adobe is lazy and that the new iPad doesn’t have Flash because &#8216;whenever a Mac crashes, more often than not, it’s because of Flash&#8221;. &#8220;No one will be using Flash. The world (...)]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/2Ewr4BSTr8Q&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/2Ewr4BSTr8Q?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br/></p>
<p>A few days ago Steve Jobs said that Adobe is lazy and that the new iPad doesn’t have Flash because &#8216;whenever a Mac crashes, more often than not, it’s because of Flash&#8221;. &#8220;No one will be using Flash. The world is moving to HTML5.&#8221; <span id="more-1132"></span>I wrote about this <a href="http://paulyanez.com/interactive/index.php/2010/01/steve-jobs-calls-adobe-lazy-and-blames-flash-for-crashing-macs/">here</a>. </p>
<p>I wasn&#8217;t upset with Steve that&#8217;s his job to push his product and if that means putting down your competitors than so be it. I was upset with Adobe for never defending themselves whenever Steve did this, and it has happened multiple times.</p>
<p>I am glad to see Adobe&#8217;s CTO Kevin Lynch posted <a href="http://blogs.adobe.com/conversations/2010/02/open_access_to_content_and_app.html">this response on his blog</a> which was covered by <a href="http://www.techcrunch.com/2010/02/02/adobe-cto-kevin-lynch-defends-flash/">Techcrunch </a>&#8220;Adobe CTO Kevin Lynch Defends Flash, Warns HTML5 Will Throw The Web “Back To The Dark Ages Of Video&#8221;. </p>
<p>I wonder if Leon was brought into Adobe to give advice on how to handle Mr Steve Jobs. Either way, good job Kevin.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/02/did-adobe-get-advice-from-leon-on-how-to-respond-to-steve-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steve Jobs Calls Adobe Lazy and blames Flash for crashing Macs</title>
		<link>http://paulyanez.com/interactive/index.php/2010/01/steve-jobs-calls-adobe-lazy-and-blames-flash-for-crashing-macs/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/01/steve-jobs-calls-adobe-lazy-and-blames-flash-for-crashing-macs/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 03:53:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[steve jobs]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1114</guid>
		<description><![CDATA[Jobs recently held a town hall meeting at Apple and said that Adobe is lazy and that the new iPad doesn&#8217;t have Flash because &#8220;whenever a Mac crashes, more often than not, it&#8217;s because of Flash&#8221;. &#8220;No one will be (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/apple-steve-jobs.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/apple-steve-jobs.jpg" alt="apple-steve-jobs" title="apple-steve-jobs" width="293" height="252" class="alignnone size-full wp-image-1121" /></a> </p>
<p>Jobs recently held a town hall meeting at Apple and said that Adobe is lazy and that the new iPad doesn&#8217;t have Flash because &#8220;whenever a Mac crashes, more often than not, it&#8217;s because of Flash&#8221;. <span id="more-1114"></span>&#8220;No one will be using Flash. The world is moving to HTML5.&#8221;</p>
<p>So in few sentences Steve basically calls Adobe incapable of producing quality software, irrelevant and calls them lazy which is perhaps the worst thing an engineer could be called. Just think of what the mood at engineering department at Adobe headquarters is like right now. Do you honestly believe that they will get any quailty people applying now?</p>
<p>Can Adobe get a CEO with balls who can actually do something when stuff like this happens? I had to look it up on Google, the president and chief executive officer of Adobe is Shantanu Narayen. Good job Shantanu .</p>
<p>Seems like Shantanu needs a few ideas so here goes.<br />
Shantanu, could Adobe not release CS5 for the Mac and see how relevant Adobe is to the purchases of Mac&#8217;s and see if Steve changes his tune. The main reason people buy a Mac is to be creative and the programs most creatives use is Adobe. Am I missing something here, can Adobe at least delay releases to the Mac. Honestly if Steve Jobs said anything like this about Microsoft when Bill Gates was in charge, tell me Bill wouldn&#8217;t have unleashed hell on Apple. But Adobe just takes it and will soon be so insignificant no one will will even bother to insult them.</p>
<p>Shantanu, how about calling out Apple on Objective C and how horrible it is to develop in it. And that the main reason of not letting Flash on the iPad is to not unleash millions of Flash developers onto their platform.</p>
<p>Shantanu, how about going on the offensive and saying how Youtube and all web video would not exist unless it was for Flash. How about questioning Apple on why Flash works fine on Android, why doesn&#8217;t it work on the iPhone? Shantanu say anything, do anything, but being silent and taking the high road is not the right play.</p>
<p><a href="http://news.cnet.com/8301-17852_3-10444817-71.html">cnet arrticle</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/01/steve-jobs-calls-adobe-lazy-and-blames-flash-for-crashing-macs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vinny&#8217;s second Illustration</title>
		<link>http://paulyanez.com/interactive/index.php/2010/01/vinnys-second-illustration/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/01/vinnys-second-illustration/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 17:06:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[hulk]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[vinny]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1106</guid>
		<description><![CDATA[&#160; My son Vinny just turned 8 and he has been designing and developing on his computer for years. This is his 2nd design and it took him 2 weeks to complete. He based this off the super-hero &#8216;The Incredible (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/hulk.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/hulk.jpg" alt="hulk" title="hulk" width="100%"  class="alignnone size-full wp-image-1046" /></a></p>
<table>
<tr>
<td width="150"><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg" alt="profile" title="profile" width="150"  class="alignnone size-full wp-image-1053" /></a></td>
<td width="15">&nbsp;</td>
<td valign="top"></br><br />
My son Vinny just turned 8 and he has been designing and developing on his computer for years. This is his 2nd design and it took him 2 weeks to complete. <span id="more-1106"></span><br /></br> <br /></br></p>
<p>He based this off the super-hero &#8216;The Incredible Hulk&#8217; and the original artwork is from Marvel comics. Vinny created all the inks and coloring in Adobe Illustrator CS4. <br /></br></p>
<p>To see larger version click on the image or <a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/hulk.jpg">here</a></p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/01/vinnys-second-illustration/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My son Anthony’s first design work on the web</title>
		<link>http://paulyanez.com/interactive/index.php/2010/01/my-son-anthonys-first-design-work-on-the-web/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/01/my-son-anthonys-first-design-work-on-the-web/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 07:01:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[anthony]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1098</guid>
		<description><![CDATA[My 12 year old son Anthony has been in front of a computer on his grandpa&#8217;s lap since the age of 2. At age 4 he started designing and animating in Adobe Flash. At age 8 he got his own (...)]]></description>
			<content:encoded><![CDATA[<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/anthony-yanez-spiderman.jpg"><img class="alignnone size-full wp-image-1046" title="spidey" src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/anthony-yanez-spiderman.jpg" alt="spidey" width="640" /></a></p>
<table border="0" width="640">
<tbody>
<tr>
<td width="150"><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/anthony-yanez-profile.jpg"><img class="alignnone size-full wp-image-1053" title="profile" src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/anthony-yanez-profile.jpg" alt="profile" width="150" /></a></td>
<td width="15"></td>
<td valign="top">My 12 year old son Anthony has been in front of a computer on his grandpa&#8217;s lap since the age of 2. At age 4 he started designing and animating in Adobe Flash. At age 8 he got his own computer and started programming. <span id="more-1098"></span>Lately, he has taken an interest in video, he has his own video and digital cameras and is using Adobe Premiere and AfterEffects. </p>
<p></br></p>
<p>Anthony based this Illustration off the super-hero Spiderman and the original artwork is from Marvel comics. Anthony created all the inks and coloring in Adobe Illustrator CS4.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/01/my-son-anthonys-first-design-work-on-the-web/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My son Vinny&#8217;s first design work on the web</title>
		<link>http://paulyanez.com/interactive/index.php/2010/01/my-son-vinnys-first-design-work-on-the-web/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/01/my-son-vinnys-first-design-work-on-the-web/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 07:59:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[adobe illustrator]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[vinny]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1047</guid>
		<description><![CDATA[&#160; My son Vinny just turned 8 and he has been designing and developing on his computer for years. This is his first design that has gone up on the internet. He based this off his favorite super-hero Spiderman and (...)]]></description>
			<content:encoded><![CDATA[<table >
<tr>
<td width="150"><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/profile.jpg" alt="profile" title="profile" width="150"  class="alignnone size-full wp-image-1053" /></a></td>
<td width="15">&nbsp;</td>
<td valign="top"></br><br />
My son Vinny just turned 8 and he has been designing and developing on his computer for years. This is his first design that has gone up on the internet. <span id="more-1047"></span><br /></br> <br /></br></p>
<p>He based this off his favorite super-hero Spiderman and the original artwork is from Marvel comics. Vinny created all the inks and coloring in Adobe Illustrator CS4. </p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/01/my-son-vinnys-first-design-work-on-the-web/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Reversing Gradient stops in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2010/01/reversing-gradient-stops-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2010/01/reversing-gradient-stops-in-silverlight/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 07:43:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[reverse gradient stop]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=1019</guid>
		<description><![CDATA[In this tutorial I will show how to reverse the gradient stops in Microsoft Blend. Complex gradients A complex gradient is a gradient that has multiple gradient stops such as the image below which has 7. Reverse Gradient stops button (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show how to reverse the gradient stops in Microsoft Blend. <span id="more-1019"></span></p>
<p><font face="Georgia" color="#000000" size="4">Complex gradients</font><br />
A complex gradient is a gradient that has multiple gradient stops such as the image below which has 7.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/complex-gradient-silverlight.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/complex-gradient2-silverlight.jpg" alt="complex-gradient-silverlight" title="complex-gradient-silverlight" width="519" height="163" class="alignnone size-full wp-image-1022" /></a></p>
<p><font face="Georgia" color="#000000" size="4">Reverse Gradient stops button</font><br />
You can perform a reversal of all your gradient stops by one simple click. In the image below the arrow is pointing to the button in the properties panel to reverse the gradient stops.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reverse-gradient-stop-button-silverlight.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reverse-gradient-stop-button-silverlight.jpg" alt="reverse-gradient-stop-button-silverlight" title="reverse-gradient-stop-button-silverlight" width="262" height="141" class="alignnone size-full wp-image-1024" /></a></p>
<p><font face="Georgia" color="#000000" size="4">Perfect reversal</font><br />
As you can see the gradient stops have been reversed exactly, there is no need to guess.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reverse-gradient-stop-silverlight.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reverse-gradient-stop-silverlight.jpg" alt="reverse-gradient-stop-silverlight" title="reverse-gradient-stop-silverlight" width="260" height="69" class="alignnone size-full wp-image-1025" /></a></p>
<p><font face="Georgia" color="#000000" size="4">Reversed Gradient</font><br />
And in one simple click you can have a perfectly reversed gradient. </p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reversed-gradient-silverlight.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2010/01/reversed-gradient-silverlight.jpg" alt="reversed-gradient-silverlight" title="reversed-gradient-silverlight" width="517" height="167" class="alignnone size-full wp-image-1023" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2010/01/reversing-gradient-stops-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using RotationY to rotate Objects in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 05:34:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[planeprojection]]></category>
		<category><![CDATA[rotateY]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[sliderchanged]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=944</guid>
		<description><![CDATA[In this tutorial we will rotate an image left to right with a slider control. Steps 1- Place an image on the stage 2- on the image add a PlaneProjection, this can easily be done by editing the Projection / (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will rotate an image left to right with a slider control. <span id="more-944"></span></p>
<p>Steps<br />
1- Place an image on the stage<br />
2- on the image add a PlaneProjection, this can easily be done by editing the Projection / Rotation / Y in the properties panel<br />
3- name the PlaneProjection to x:Name=&#8221;rotater&#8221;<br />
4- add a slider to the stage<br />
5- name the slider x:Name=&#8221;rotateYSlider&#8221;<br />
6- on the slider set ValueChanged=&#8221;changeRotateY&#8221;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/">Scaling Objects with a Slider control in Silverlight</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/">Using RotationX to rotate Objects in Silverlight</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/">Using RotationY to rotate Objects in Silverlight</a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Use the Rotate Y slider to rotate the image</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="480"><param name="source" value="http://www.paulyanez.com/interactive/blog/RotateY/rotatey.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;Image Margin=&quot;49,-14,54,96&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Source=&quot;hulu.jpg&quot; Stretch=&quot;Fill&quot; d:LayoutOverrides=&quot;Width&quot;&gt;
	&lt;Image.Projection&gt;
		&lt;PlaneProjection x:Name=&quot;rotater&quot; RotationX=&quot;1&quot; RotationY=&quot;1&quot;/&gt;
	&lt;/Image.Projection&gt;
&lt;/Image&gt;
&lt;Slider x:Name=&quot;rotateYSlider&quot; Height=&quot;26&quot; Margin=&quot;282,0,218,28&quot; VerticalAlignment=&quot;Bottom&quot;  Maximum=&quot;180&quot; ValueChanged=&quot;changeRotateY&quot; Style=&quot;{StaticResource SliderStyle1}&quot;/&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

private void changeRotateY(object sender, System.Windows.RoutedPropertyChangedEventArgs&lt;double&gt; e)
{
	rotater.RotationY = rotateYSlider.Value;
	rotater.RotationY = rotateYSlider.Value;
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding fonts in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/embedding-fonts-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/embedding-fonts-in-silverlight/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 03:04:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[embedding fonts]]></category>
		<category><![CDATA[file size]]></category>
		<category><![CDATA[font family]]></category>
		<category><![CDATA[textblock]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=905</guid>
		<description><![CDATA[In this tutorial I will show how to embed a font in Silverlight and show the increase in file size that will occur when doing so. Placing a Textblock component on the stage and using a built-in Silverlight font such (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show how to embed a font in Silverlight and show the increase in file size that will occur when doing so. <span id="more-905"></span></p>
<p>Placing a Textblock component on the stage and using a built-in Silverlight font such as &#8220;Arial&#8221; the xap file created will be 4 kb. However, if try to use a font such as &#8220;Myriad Pro&#8221; when you view the results panel you will see a message &#8220;The font, Myriad Pro, isn&#8217;t a built-in Silverlight font. You must embed this font for it to display in your Silverlight Application.&#8221;</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-embedding-fonts.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-embedding-fonts.jpg" alt="silverlight-embedding-fonts" title="silverlight-embedding-fonts" width="459" height="137" class="alignnone size-full wp-image-913" /></a></p>
<p>Embedding a font is as simple as selecting the &#8220;Embed&#8221; checkbox in the text properties panel.<br />
One thing to note when embedding the font &#8220;Myriad Pro&#8221; the xap file size becomes 831 kb.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-embedding-fonts2.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-embedding-fonts2.jpg" alt="silverlight-embedding-fonts2" title="silverlight-embedding-fonts2" width="345" height="165" class="alignnone size-full wp-image-914" /></a></p>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;TextBlock FontFamily=&quot;Fonts/Fonts.zip#Myriad Pro&quot; FontSize=&quot;16&quot; Foreground=&quot;White&quot; Text=&quot;TextBlock&quot; TextAlignment=&quot;Center&quot; TextWrapping=&quot;Wrap&quot;/&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/embedding-fonts-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using RotationX to rotate Objects in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 23:02:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[planeprojection]]></category>
		<category><![CDATA[rotateX]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[valuechanged]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=889</guid>
		<description><![CDATA[In this tutorial we will rotate an image with a slider control. This is the 2nd tutorial of image transformations, the first tutorial &#8216;Scaling Objects with a Slider control in Silverlight&#8217; Steps 1- Place an image on the stage 2- (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will rotate an image with a slider control. This is the 2nd tutorial of image transformations, the first tutorial <a href="http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/">&#8216;Scaling Objects with a Slider control in Silverlight&#8217;</a><span id="more-889"></span></p>
<p>Steps<br />
1- Place an image on the stage<br />
2- on the image add a PlaneProjection, this can easily be done by editing the Projection / Rotation / X in the properties panel<br />
3- name RotationX to x:Name=&#8221;rotateX&#8221;<br />
4- add a slider to the stage<br />
5- name the slider x:Name=&#8221;rotateXSlider&#8221;<br />
6- on the slider set ValueChanged=&#8221;changeRotateX&#8221;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/">Scaling Objects with a Slider control in Silverlight</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/">Using RotationX to rotate Objects in Silverlight</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/">Using RotationY to rotate Objects in Silverlight</a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Use the Rotate X slider to rotate the image</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="480"><param name="source" value="http://www.paulyanez.com/interactive/blog/RotateX/rotatex.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;Image Margin=&quot;49,-14,54,96&quot; RenderTransformOrigin=&quot;0.5,0.5&quot; Source=&quot;hulu.jpg&quot; Stretch=&quot;Fill&quot; d:LayoutOverrides=&quot;Width&quot;&gt;
	&lt;Image.Projection&gt;
		&lt;PlaneProjection x:Name=&quot;rotateX&quot; RotationX=&quot;1&quot;/&gt;
	&lt;/Image.Projection&gt;
&lt;/Image&gt;
&lt;Slider x:Name=&quot;rotateXSlider&quot; Height=&quot;26&quot; Margin=&quot;282,0,218,32&quot; VerticalAlignment=&quot;Bottom&quot;  Maximum=&quot;180&quot; ValueChanged=&quot;changeRotateX&quot; Style=&quot;{StaticResource SliderStyle1}&quot;/&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

private void changeRotateX(object sender, System.Windows.RoutedPropertyChangedEventArgs&lt;double&gt; e)
{
	rotateX.RotationX = rotateXSlider.Value;
	rotateX.RotationX = rotateXSlider.Value;
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Silverlight Tip &#8211; Creating rounded corners in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-creating-rounded-corners-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-creating-rounded-corners-in-silverlight/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 02:37:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[horizontaltracklargechangedecreaserepeatbutton]]></category>
		<category><![CDATA[radiusX]]></category>
		<category><![CDATA[radiusY]]></category>
		<category><![CDATA[rectangle]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=868</guid>
		<description><![CDATA[In this tutorial I will show how to create a rounded corner on an object. In a previous tutorial Scaling Objects with a Slider control in Silverlight, The design of the slider control I wanted had a rounded edge. Programmatically (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will show how to create a rounded corner on an object. <span id="more-868"></span> In a previous tutorial <a href="http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/">Scaling Objects with a Slider control in Silverlight</a>, The design of the slider control I wanted had a rounded edge. Programmatically you can set the RadiusX and RadiusY properties but I wanted to do this within Microsoft Blend design mode. </p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-scale-slider.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-scale-slider.jpg" alt="silverlight-scale-slider" title="silverlight-scale-slider" width="226" height="47" class="alignnone size-full wp-image-869" /></a></p>
<p>The object I wanted to edit was the &#8216;horizontaltracklargechangedecreaserepeatbutton&#8217; layer in the slider control. Once I was within the object I created a &#8216;Rectangle&#8217;, selected it and handles in the top left corner appeared. Simply drag in and out on the handles and all corners of the objects will go from square to rounded. FYI, the RadiusX and RadiusY of this control is 2.75.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-horizontaltracklargechangedecreaserepeatbutton1.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-horizontaltracklargechangedecreaserepeatbutton1.jpg" alt="silverlight-horizontaltracklargechangedecreaserepeatbutton" title="silverlight-horizontaltracklargechangedecreaserepeatbutton" width="281" height="202" class="alignnone size-full wp-image-870" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-creating-rounded-corners-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scaling Objects with a Slider control in Silverlight</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 01:03:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[scaletransform]]></category>
		<category><![CDATA[scalex]]></category>
		<category><![CDATA[scaley]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[transformgroup]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=848</guid>
		<description><![CDATA[In this tutorial we will scale an image with a slider control. Steps 1- Place an image on the stage 2- add a transform group to that image, this can easily be accomplished by editing the scale property 3- name (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will scale an image with a slider control. <span id="more-848"></span></p>
<p>Steps<br />
1- Place an image on the stage<br />
2- add a transform group to that image, this can easily be accomplished by editing the scale property<br />
3- name ScaleX to x:Name=&#8221;scaleTransform&#8221;<br />
4- add a slider to the stage<br />
5- name the slider  x:Name=&#8221;scaleSlider&#8221;<br />
6- on the slider set ValueChanged=&#8221;changeScale&#8221;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/">Scaling Objects with a Slider control in Silverlight</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationx-to-rotate-objects-in-silverlight/">Using RotationX to rotate Objects in Silverlight</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/using-rotationy-to-rotate-objects-in-silverlight/">Using RotationY to rotate Objects in Silverlight</a></p>
<p></br><br />
<font face="Georgia" color="#000000" size="4">Use the slider to scale the image</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="480"><param name="source" value="http://www.paulyanez.com/interactive/blog/ScaleTransform/Scale.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p></br><br />
<font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
&lt;Rectangle Height=&quot;50&quot; Margin=&quot;288,176,288,0&quot; VerticalAlignment=&quot;Top&quot; d:LayoutOverrides=&quot;Height&quot; RenderTransformOrigin=&quot;0.5,0.5&quot;&gt;
	&lt;Rectangle.Fill&gt;
		&lt;ImageBrush ImageSource=&quot;hulumediaplayer.jpg&quot;/&gt;
	&lt;/Rectangle.Fill&gt;
	&lt;Rectangle.RenderTransform&gt;
		&lt;TransformGroup&gt;
			&lt;ScaleTransform ScaleX=&quot;7&quot; ScaleY=&quot;7&quot; x:Name=&quot;scaleTransform&quot;/&gt;
		&lt;/TransformGroup&gt;
	&lt;/Rectangle.RenderTransform&gt;
&lt;/Rectangle&gt;
&lt;Slider x:Name=&quot;scaleSlider&quot; Height=&quot;27&quot; Margin=&quot;278,0,222,36&quot; Style=&quot;{StaticResource SliderStyle1}&quot; VerticalAlignment=&quot;Bottom&quot; ValueChanged=&quot;changeScale&quot; Width=&quot;140&quot;/&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ScaleObject
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
			scaleSlider.Value = 7;
		}

		private void changeScale(object sender, System.Windows.RoutedPropertyChangedEventArgs&lt;double&gt; e)
		{
			scaleTransform.ScaleX = scaleSlider.Value;
   			scaleTransform.ScaleY = scaleSlider.Value;
		}
	}
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/scaling-objects-with-a-slider-control-in-silverlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Start Playing button for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:14:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[autoplay]]></category>
		<category><![CDATA[media element]]></category>
		<category><![CDATA[start button]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=803</guid>
		<description><![CDATA[In this tutorial we will create a start play button on launch of your Hulu inspired SilverLight video player. Steps 1- Set the media element&#8217;s AutoPlay=&#8221;False&#8221; 2- Place a button in the middle of the stage 3- Replace the graphics (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will create a start play button on launch of your Hulu inspired SilverLight video player. <span id="more-803"></span></p>
<p>Steps<br />
1- Set the media element&#8217;s AutoPlay=&#8221;False&#8221;<br />
2- Place a button in the middle of the stage<br />
3- Replace the graphics on normal and mouseover states<br />
4- on click of start button set the buttons visibility to collapsed, set the media element to play</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/StartButton/HuluSilverLight-StartButton.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">
		&lt;Button x:Name=&quot;startButton&quot; Height=&quot;107.3&quot; Margin=&quot;261,81,261,83&quot; Style=&quot;{StaticResource ButtonStyle1}&quot; Content=&quot;Button&quot; Cursor=&quot;Hand&quot; Click=&quot;startPlaying&quot;/&gt;
		&lt;MediaElement x:Name=&quot;mp&quot; Source=&quot;http://www.paulyanez.com/interactive/blog/HD/darkknight.wmv&quot; DownloadProgressChanged=&quot;downloadProgressHandler&quot; Margin=&quot;0,0,-1,-1&quot; IsMuted=&quot;{Binding IsChecked, ElementName=volumeControl, Mode=OneWay}&quot; Volume=&quot;{Binding Value, ElementName=vol, Mode=OneWay}&quot; AutoPlay=&quot;False&quot; /&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

	startButton.Visibility = Visibility.Collapsed;
	controlBar.Visibility = Visibility.Visible;
	mp.Play();
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Volume Slider for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 00:16:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[databind]]></category>
		<category><![CDATA[horizontalthumb]]></category>
		<category><![CDATA[media element]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[trackrectangle]]></category>
		<category><![CDATA[video player]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=769</guid>
		<description><![CDATA[In this tutorial we will edit a slider control and use it as our volume slider control. This volume slider will allow the user the ability to scrub the volume from 0-100%. Steps 1- Place a slider control on the (...)]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will edit a slider control and use it as our volume slider control. This volume slider will allow the user the ability to scrub the volume from 0-100%.<span id="more-769"></span></p>
<p>Steps<br />
1- Place a slider control on the stage<br />
2- Right click on the slider control and select &#8220;Edit Template/Edit a copy&#8221;<br />
3- Replace the graphics for &#8216;HorizontalThumb&#8217; and &#8216;TrackRectangle&#8217;<br />
4- Databind the Media Element control &#8216;volume&#8217; property to the volume slider<br />
5- Set the value property of the volume slider to 1</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/VolumeSlider/HuluSilverLight-VolumeSlider.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

		&lt;Slider x:Name=&quot;vol&quot; Height=&quot;19&quot; HorizontalAlignment=&quot;Right&quot; Margin=&quot;0,0,14,5&quot; VerticalAlignment=&quot;Bottom&quot; Width=&quot;74&quot; Maximum=&quot;1&quot; SmallChange=&quot;0.01&quot; Value=&quot;1&quot; Style=&quot;{StaticResource volumeSlider}&quot;/&gt;
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight Tip &#8211; Editing selections from the Objects and Timeline panel</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-editing-selections-from-the-objects-and-timeline-panel/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-editing-selections-from-the-objects-and-timeline-panel/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 02:13:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom component]]></category>
		<category><![CDATA[horizontalthumb]]></category>
		<category><![CDATA[objects and timeline]]></category>
		<category><![CDATA[silverlight tip]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=759</guid>
		<description><![CDATA[To me, it is the little things that make you more productive within a given environment that I constantly search for. Since I have only been working with Silverlight for less than 2 months there are cool things I find (...)]]></description>
			<content:encoded><![CDATA[<p>To me, it is the little things that make you more productive within a given environment that I constantly search for. Since I have only been working with Silverlight for less than 2 months there are cool things I find almost daily. I have not shared those little things since they are not full fledged tutorials, but that I am changing that today. If it helped me than perphaps it can help someone else, and that is the main reason I started to blog. I was building a custom volume slider for my video player and I was having difficulty selecting the &#8216;HorizontalThumb&#8217; object from the Blend horizontal slider component and found a way to avoid wasting time.</p>
<p>When you are editing a Silverlight component within Blend to make your own custom component you will see multiple objects. Selecting the object you want to edit can become frustrating. Simply select the object you want to edit by selecting it from the Objects and Timeline layer and right click and do your editing.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-selection-objects-timeline.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/12/silverlight-selection-objects-timeline.jpg" alt="silverlight-selection-objects-timeline" title="silverlight-selection-objects-timeline" width="551" height="719" class="alignnone size-full wp-image-760" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/silverlight-tip-editing-selections-from-the-objects-and-timeline-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Transition Preview within Microsoft Blend</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/using-transition-preview-within-microsoft-blend/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/using-transition-preview-within-microsoft-blend/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 00:22:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[states]]></category>
		<category><![CDATA[transition preview]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=703</guid>
		<description><![CDATA[In this video I demonstrate the Transition Preview within Microsoft Expression Blend. This will save lots of time when creating states and not having to run the project.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/bAWy9YMsafw&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/bAWy9YMsafw?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/></p>
<p>In this video I demonstrate the Transition Preview within Microsoft Expression Blend. This will save lots of time when creating states and not having to run the project.   </p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/using-transition-preview-within-microsoft-blend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building the Time Slider control for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 15:19:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dispatchertimer]]></category>
		<category><![CDATA[hulu]]></category>
		<category><![CDATA[media element]]></category>
		<category><![CDATA[naturalduration]]></category>
		<category><![CDATA[position.minutes]]></category>
		<category><![CDATA[position.seconds]]></category>
		<category><![CDATA[string.format]]></category>
		<category><![CDATA[textblock]]></category>
		<category><![CDATA[timespan]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=688</guid>
		<description><![CDATA[This is part 6 in our series of building a Hulu inspired video player. In this tutorial we will be building the slider time display control. We will take the static design of UI design 1- Replace a slider of (...)]]></description>
			<content:encoded><![CDATA[<p>This is part 6 in our series of building a Hulu inspired video player. In this tutorial we will be building the slider time display control.<span id="more-688"></span></p>
<p>We will take the static design of  UI design</p>
<p>1- Replace a slider of type hSlider<br />
2- Replace the design elements</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/TimeDisplay/HuluSilverLight_TimeControl.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

		&lt;TextBlock x:Name=&quot;current&quot; Height=&quot;23&quot; HorizontalAlignment=&quot;Right&quot; Margin=&quot;0,0,229,1&quot; VerticalAlignment=&quot;Bottom&quot; Width=&quot;59&quot; TextWrapping=&quot;Wrap&quot; Foreground=&quot;#FFFCFCFC&quot; FontSize=&quot;10.667&quot; TextAlignment=&quot;Right&quot;/&gt;
		&lt;TextBlock x:Name=&quot;total&quot; HorizontalAlignment=&quot;Right&quot; Margin=&quot;0,0,158,0&quot; Width=&quot;61&quot; FontSize=&quot;10.667&quot; Foreground=&quot;#FFFCFCFC&quot; TextWrapping=&quot;Wrap&quot; Height=&quot;24&quot; VerticalAlignment=&quot;Bottom&quot;/&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HuluSilverLight
{
	public partial class hulu_player : UserControl
	{
		public double barSize;
		System.Windows.Threading.DispatcherTimer myDispatcherTimer = new System.Windows.Threading.DispatcherTimer();

		public hulu_player()
		{
			InitializeComponent();
			myDispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 500);
            myDispatcherTimer.Tick += new EventHandler(setTimeControl);
            myDispatcherTimer.Start();
		}

		private void setTimeControl(object o, EventArgs sender)
		{
			current.Text = String.Format(&quot;{0:00}:{1:00}:{2:00}&quot;, mp.Position.Hours, mp.Position.Minutes, mp.Position.Seconds);
		}

		private void downloadProgressHandler(object sender, System.Windows.RoutedEventArgs e)
		{

			total.Text = String.Format(&quot;{0:00}:{1:00}:{2:00}&quot;, mp.NaturalDuration.TimeSpan.Hours, mp.NaturalDuration.TimeSpan.Minutes, mp.NaturalDuration.TimeSpan.Seconds);
		}
	}
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building a Volume Control for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 18:07:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[ischecked]]></category>
		<category><![CDATA[ismuted]]></category>
		<category><![CDATA[mute]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[toggle button]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=672</guid>
		<description><![CDATA[This is Part 5 in a series of tutorials demonstrating how to build a Hulu inspired video player in Silverlight 3. In this video we will show how to databind a media element&#8217;s isMuted property to a toggle button volume (...)]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/BLISWp3R7qA&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/BLISWp3R7qA?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
This is Part 5 in a series of tutorials demonstrating how to build a Hulu inspired video player in Silverlight 3.<br />
In this video we will show how to databind a media element&#8217;s isMuted property to a toggle button volume control&#8217;s isChecked property.   <span id="more-672"></span></p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

		&lt;MediaElement x:Name=&quot;mp&quot; Source=&quot;http://www.paulyanez.com/interactive/blog/HD/darkknight.wmv&quot; DownloadProgressChanged=&quot;downloadProgressHandler&quot; Margin=&quot;0,0,-1,-1&quot; AutoPlay=&quot;True&quot; IsMuted=&quot;{Binding IsChecked, ElementName=volumeControl, Mode=OneWay}&quot; /&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Joost is officially dead. I am very upset&#8230;</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/joost-is-officially-dead-i-am-very-upset/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/joost-is-officially-dead-i-am-very-upset/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 03:25:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=635</guid>
		<description><![CDATA[Wow, I just found out that Joost is officially no more. There are many times when you know that something will happen but you figure, no way that this is going to happen. In the early part of 2007 Joost (...)]]></description>
			<content:encoded><![CDATA[<p>Wow, I just found out that <a href="http://www.techcrunch.com/2009/11/24/joost-acquired-adconion/">Joost is officially no more</a>. There are many times when you know that something will happen but you figure, no way that this is going to happen.<span id="more-635"></span></p>
<p>In the early part of 2007 Joost was the shit. They had articles being written about them almost daily and each one of them were all praising Joost as the next big thing. There was no reason to believe that this wouldn&#8217;t be the case, they had the infamous Kazaa and Skype founders <a href="http://www.time.com/time/magazine/article/0,9171,1187489,00.html">Niklas Zennström and Janus Friis</a> as founders. The founders had succeeded in everything they touched and had made billions together and this was going to be another industry the pair was was going to cause havoc to.</p>
<p>For 6 months I was amazed at the presentation of <a href="http://www.joost.com/">Joost</a>, fullscreen video with overlays that contained menu navigation and widgets. Anyone saying that they were not the first to do so in this manner or scale is either lying or simply does not know what they are talking about. Everyone in the video space today owes alot to the innovation Joost created back then.</p>
<p>There was one annoying thing that kept happening in the first half of 2007, I had to update the Joost desktop application almost daily. It basically would not work unless I updated the entire application, granted it was beta software but come on, this is 2007 and I am still doing this? </p>
<p>In the same timeframe I was seriously thinking of starting a blog. I had installed WordPress, had a design for my blog and within a few hours of writing my first article I realized I was just simply horrible in expressing my ideas in words, so I scraped the blog plan. My first article was,&#8221;Joost should be web based&#8221;, basically to drop the desktop approach and become web based. Since I couldn&#8217;t write a lick I did what was instinctive for me which was to reverse engineer the Joost desktop application into a web based Flash application. Flash was simple to me and was web based, lightweight and auto updated and could do everything the Joost desktop could do.</p>
<p>I sent my <a href=" http://www.paulyanez.com/interactive/videoplayers/joostdesktop.html">Joost web based app</a> to a few friends the night before my birthday who I trusted and were the best user experience, designers, project managers and engineers wanting to know what they thought. My friends started sending the link out and my app became viral. I remember this clearly because the next day I am on Moonlight beach and then eating at a restaurant on Route 101 just chilling on my birthday and I am being called by blogs asking me questions for their articles. </p>
<p><a href="http://newteevee.com/2007/07/27/what-if-joost-were-a-web-app/">Newteeve did a writeup</a> and <a href="http://www.techcrunch.com/2007/09/09/will-joost-address-the-copycats/">others soon others followed</a>, then my app went on the<a href="http://digg.com/mods/What_If_Joost_Were_a_Web_App"> homepage of Digg.com</a>.</p>
<p>The whirlwind had started, I got sitdowns with the CEO&#8217;s of just about every video company, I met with Chad, the CEO of Youtube and his team, met with Yahoo. I was being flown around the country to meet CEO&#8217;s and VC&#8217;s because of my blog concept, this was totally cool.</p>
<p>The obvious thing I thought would happen was that Joost would contact me and we would work together. I remember Chad asking me &#8220;What does Mike think about what you are doing&#8221;. I just didn&#8217;t answer him because I had never heard from Mike.</p>
<p>I obviously thought Joost would change and adapt a web based approach. My app clearly showed the public wanted this, the blogs, Digg, users all voted and wanted a web based player. Joost&#8217;s CEO Mike Volpi one month later <a href="http://www.techcrunch.com/2007/10/19/joost-coming-to-the-browser/">promised to do so</a>, but he did not do so for well over a year. Guess what happened in that timeframe, Hulu. Hulu took the Joost concept and went web based and just crushed Joost, Joost never recovered.</p>
<p>Two years later, over the summer of 2009 I got a call from a senior person at Joost asking if I would like to collaborate on my <a href="http://paulyanez.com/interactive/index.php/2009/08/mymediaplayer/">Hulu Adobe Air player</a> for Joost. I had the pleasure of working with the talented creative and engineering teams from Joost on my <a href=" http://paulyanez.com/interactive/index.php/2009/08/joost-media-player/">Adobe Air player of Joost.com</a>.</p>
<p>Because of Joost I now have thousands of emails from users who have downloaded software I have built in the past 2 years. I now have the ability to now build a concept and have thousands immediately view it and give me feedback, this is huge. If not for Joost I would never have this ability, so I am forever thankful to Joost.</p>
<p>To me, I believe Joost was ahead of its time and I am very sad that this has happened. Today we have lost a company which should have made it, but didn&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/joost-is-officially-dead-i-am-very-upset/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New iMac for my Home office</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/new-imac-for-my-home-office/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/new-imac-for-my-home-office/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 05:00:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[imac]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=627</guid>
		<description><![CDATA[Finally got my Mac, time to start developing iPhone apps. Really digging the way my office looks at night now.]]></description>
			<content:encoded><![CDATA[<p>Finally got my Mac, time to start developing iPhone apps. Really digging the way my office looks at night now.</p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/11/new_Mac.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/11/new_Mac-1024x768.jpg" alt="new_Mac" title="new_Mac" width="640" height="480" class="alignnone size-large wp-image-626" /></a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/11/geek_Nirvana.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/11/geek_Nirvana-1024x768.jpg" alt="geek_Nirvana" title="geek_Nirvana" width="640" height="480" class="alignnone size-large wp-image-629" /></a></p>
<p><a href="http://paulyanez.com/interactive/wp-content/uploads/2009/11/progamming_At_Night.jpg"><img src="http://paulyanez.com/interactive/wp-content/uploads/2009/11/progamming_At_Night-1024x768.jpg" alt="progamming_At_Night" title="progamming_At_Night" width="640" height="480" class="alignnone size-large wp-image-631" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/new-imac-for-my-home-office/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Drag and Drop images from Filesystem to Silverlight 4 Applications</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/drag-and-drop-images-from-filesystem-to-silverlight-4-applications/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/drag-and-drop-images-from-filesystem-to-silverlight-4-applications/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 19:27:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[allowdrop]]></category>
		<category><![CDATA[drag and drop]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[silverlight 4]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=615</guid>
		<description><![CDATA[In this video I show how to drag and drop images from the filesystem into a Silverlight 4 application. On an image component simply add a drop event and set AllowDrop=&#8221;True&#8221; You will need to download the tools to build (...)]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/32R5DZ6dyWA&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/32R5DZ6dyWA?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
In this video I show how to drag and drop images from the filesystem into a Silverlight 4 application.<br />
On an image component simply add a drop event and set AllowDrop=&#8221;True&#8221;<span id="more-615"></span><br />
You will need to download the tools to build <a href="http://silverlight.net/getstarted/silverlight-4-beta/">Silverlight 4 beta applications</a>, make sure to download Microsoft Expression Blend 4.</p>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;Image x:Name=&quot;img&quot; Height=&quot;640&quot; Width=&quot;426&quot; Source=&quot;Image2.png&quot; Stretch=&quot;Fill&quot; Drop=&quot;OnDropEvent&quot; AllowDrop=&quot;True&quot;/&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.IO;
using System.Windows.Media.Imaging;

namespace SilverlightApplication14
{
	public partial class IPhoneMain : UserControl
	{
		public IPhoneMain()
		{
			InitializeComponent();
		}

		private void OnDropEvent(object sender, DragEventArgs e)
		{
			FileInfo[] files = e.Data.GetData(DataFormats.FileDrop) as FileInfo[];

			foreach (FileInfo fileInfo in files)
			{
				FileStream fs = fileInfo.OpenRead();
				BitmapImage bi = new BitmapImage();
				bi.SetSource(fs);
				img.Source = bi;
				fs.Close();
			}
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/drag-and-drop-images-from-filesystem-to-silverlight-4-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft blows past Flash and unleashes Silverlight 4 Beta</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/microsoft-blows-past-flash-and-unleashes-silverlight-4-beta/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/microsoft-blows-past-flash-and-unleashes-silverlight-4-beta/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 23:50:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=604</guid>
		<description><![CDATA[For the past 2 weeks I have been saying Adobe Flash is done because of Silverlight 3 part1 and part 2. Now, Microsoft releases the beta of Silverlight 4 and I can honestly say that Adobe Flash should get out (...)]]></description>
			<content:encoded><![CDATA[<p>For the past 2 weeks I have been saying Adobe Flash is done because of Silverlight 3 <a href="http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/">part1</a> and <a href="http://paulyanez.com/interactive/index.php/2009/11/the-end-of-adobe-flash-part-2/">part 2</a>. Now, Microsoft releases the beta of Silverlight 4 and I can honestly say that Adobe Flash should get out of the RIA arena entirely. <span id="more-604"></span>Is this a stretch?, why did anyone think an animation product could compete in the RIA space in the first place? </p>
<p>The manner in which Microsoft released the beta of Silverlight 4 at the Professional Developer Conference on Nov 18th shows me one thing, Microsoft is not only very serious about being the leader in the RIA arena but they are looking to crush the competition, namely Adobe Flash.</p>
<p>First, the speed in which this beta was announced, just 3 months after the release of Silverlight 3. The release of Silverlight 3 was huge, but this beta just completely blows it away. The demos presented at the PDC conference by Scott Guthrie were simply great and just sent the developers into a frenzy.</p>
<p>Secondly, the new features in Silverlight 4 are simply unbelievable. The new features include:<br />
<strong>Webcam and microphone support<br />
Printing<br />
Library sharing with WPF<br />
Rich Text<br />
Clipboard access<br />
Right click support<br />
Mouse wheel<br />
Drag and Drop from desktop<br />
MVVM<br />
WCF RIA Services<br />
New Windowing API&#8217;s<br />
Notification pop-up support<br />
HTML support<br />
Keyboard in Fullscreen mode<br />
Hardware device access</strong></p>
<p>The planned release of Silverlight 4 is in the first half of 2010.</p>
<p>I love how folks are not agreeing with me on the end of Adobe Flash and sending me emails, the bottom line is that I see this as the modern day &#8220;Browser wars&#8221; when Microsoft went all out against Netscape and crushed them. I see Microsoft doing the same in the RIA space and Microsoft is going all out to win. Microsoft doing a release like this in 3 months, I ask myself how many resources were ported over from other products to this release?</p>
<p>Developers can start building apps but the player is not pubicly available<br />
<a href="http://silverlight.net/getstarted/silverlight-4-beta/">Silverlight 4 Beta Information &#8211; Get all your downloads here</a><br />
<a href="http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx">Silverlight 4 Beta – A guide to the new features</a><br />
<a href="http://silverlight.dlservice.microsoft.com/download/F/6/5/F653F7FD-AD4D-411D-8B1F-9C4B1BD69881/Silverlight_Developer.exe">Silverlight 4 runtime</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/microsoft-blows-past-flash-and-unleashes-silverlight-4-beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The End of Adobe Flash &#8211; Part 2</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/the-end-of-adobe-flash-part-2/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/the-end-of-adobe-flash-part-2/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 13:13:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[seesmic]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=582</guid>
		<description><![CDATA[This is an update to my article on &#8216;SilverLight will be the Adobe Flash killer&#8217;. Tomorrow will be 2 weeks since I have written the article and two very big things have already occurred. The first is that Adobe cut (...)]]></description>
			<content:encoded><![CDATA[<p>This is an update to my article on <a href="http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/">&#8216;SilverLight will be the Adobe Flash killer&#8217;</a>.  Tomorrow will be 2 weeks since I have written the article and two very big things have already occurred.<span id="more-582"></span></p>
<p>The first is that <a href="http://www.techcrunch.com/2009/11/10/layoffs-reported-at-adobe/">Adobe cut 9% percent of its workforce</a> on Nov 10th, this is the second huge cut by Adobe in the past year. In my opinion, Adobe is a Desktop publishing company and not a software devleopment company and when/if further cuts occur, they will happen on the Flash teams, not the Photoshop teams. </p>
<p>The second big thing to occur is the <a href="http://www.techcrunch.com/2009/11/17/seesmic-launches-native-twitter-client-for-windows/">yesterday&#8217;s article by Techcrunch</a> on was the announcement of a &#8216;Seesmic for Windows&#8217; client. The entire article seems like a huge jab/left hook at Adobe Air and it&#8217;s limitations and all the new capabilities Seesmic will have because of the switch to the Windows platform. </p>
<p>What you will see as a result of Seesmic moving to Windows is a constant reminder of the Windows platform due to the nature in which Loic delivers releases, which seems to be almost weekly.</p>
<p>In my <a href="http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/">original article</a> I basically stated that you could do the same exact things in Silverlight that you could do in Flash. I was hesistant to state that Silverlight was more powerful because I wanted to reach the flash community in a calm rational approach. </p>
<p>Seesmic coming out like this will be the first in many to come on the limitations the Flash/Adobe Air platform as compared to the Microsoft platform.</p>
<p>Two weeks ago I believed it would be 2 years before all the real applications/games on the web would be in Silverlight and Flash would be used for nothing more than creating banners. I think it will be sooner than that now.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/the-end-of-adobe-flash-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Databinding controls in SilverLight 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/databinding-controls-in-silverlight-3/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/databinding-controls-in-silverlight-3/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 12:57:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[blend 3]]></category>
		<category><![CDATA[databinding]]></category>
		<category><![CDATA[progress bar]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=576</guid>
		<description><![CDATA[In the following video I will show how to Databind a progressbar&#8217;s width to the position of a video. The Databinding feature in Microsoft Expression Blend 3 allows this interaction without the need to write one of code. You can (...)]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/n8jEneFb21Y&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/n8jEneFb21Y?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>In the following video I will show how to Databind a progressbar&#8217;s width to the position of a video. The Databinding feature in Microsoft Expression Blend 3 allows this interaction without the need to write one of code.<span id="more-576"></span></p>
<p><a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">You can view my article on Databinding here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/databinding-controls-in-silverlight-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Download Progress Bar for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 18:16:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blend 3]]></category>
		<category><![CDATA[DownloadProgress]]></category>
		<category><![CDATA[DownloadProgressChanged]]></category>
		<category><![CDATA[HorizontalAlignment]]></category>
		<category><![CDATA[hulu]]></category>
		<category><![CDATA[mediaelement]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=535</guid>
		<description><![CDATA[This is part 4 in our series of building a Hulu inspired video player. In this tutorial we will be building a download progress bar. We will take the design of our download progress bar and set it&#8217;s width equal (...)]]></description>
			<content:encoded><![CDATA[<p>This is part 4 in our series of building a Hulu inspired video player. In this tutorial we will be building a download progress bar.<span id="more-535"></span></p>
<p>We will take the design of our download progress bar and set it&#8217;s width equal to the position of the video&#8217;s DownloadProgress property. To make this auto-update we will hook into the &#8216;DownloadProgressChanged&#8217; event.</p>
<p>1- Place a rectangle on the stage, on a layer below the progress bar<br />
2- Set the rectangle&#8217;s HorizontalAlignment to Left<br />
2- Set the rectangle&#8217;s color to white and its alpha to 20%<br />
3- On the DownloadProgressChanged event of the mediaElement we will execute code</p>
<p>The end result in code is: loadProgressBar.Width = mp.DownloadProgress * bar.ActualWidth;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/DownloadProgress/downloadProgress.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:local=&quot;clr-namespace:HuluSilverLight&quot;
	x:Class=&quot;HuluSilverLight.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;276&quot; mc:Ignorable=&quot;d&quot;&gt;
	&lt;Grid x:Name=&quot;LayoutRoot&quot; Margin=&quot;0,0,0,201&quot;&gt;
		&lt;MediaElement x:Name=&quot;mp&quot; Margin=&quot;0,-42,0,-240&quot; Source=&quot;http://www.paulyanez.com/interactive/blog/HD/darkknight.wmv&quot; DownloadProgressChanged=&quot;downloadProgressHandler&quot;/&gt;
		&lt;local:hulu_player Height=&quot;32&quot; Margin=&quot;0,0,0,-199&quot; VerticalAlignment=&quot;Bottom&quot;/&gt;
                &lt;Rectangle x:Name=&quot;progressBar&quot; Fill=&quot;#3EFFFFFF&quot; Height=&quot;30&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;46,0,0,-198&quot; VerticalAlignment=&quot;Bottom&quot; RenderTransformOrigin=&quot;0,0.5&quot; Width=&quot;{Binding Position.TotalSeconds, ElementName=mp, Mode=OneWay}&quot;&gt;
			&lt;Rectangle.RenderTransform&gt;
				&lt;TransformGroup&gt;
					&lt;ScaleTransform ScaleX=&quot;2.5&quot;/&gt;
					&lt;SkewTransform/&gt;
					&lt;RotateTransform/&gt;
					&lt;TranslateTransform/&gt;
				&lt;/TransformGroup&gt;
			&lt;/Rectangle.RenderTransform&gt;
		&lt;/Rectangle&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HuluSilverLight
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
		}

		private void downloadProgressHandler(object sender, System.Windows.RoutedEventArgs e)
		{
			loadProgressBar.Width = mp.DownloadProgress * bar.ActualWidth;
		}
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Progress Bar for your Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 12:32:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mediaelement]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[totalseconds]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=522</guid>
		<description><![CDATA[This is part 3 in our series of building a Hulu inspired video player. In this tutorial we will be building a progress bar. We will take the design of our progress bar and set it&#8217;s width equal to the (...)]]></description>
			<content:encoded><![CDATA[<p>This is part 3 in our series of building a Hulu inspired video player. In this tutorial we will be building a progress bar.<span id="more-522"></span></p>
<p>We will take the design of our progress bar and set it&#8217;s width equal to the position of the video&#8217;s current position. To make this dynamic and without needing to write any code we will use the concept of Binding.<br />
<a href="http://paulyanez.com/interactive/index.php/2009/11/databinding-controls-in-silverlight-3/"><br />
You can view a video on Databinding here</a><br />
1- Place a rectangle on the stage<br />
2- Set the rectangle&#8217;s HorizontalAlignment to Left<br />
2- Set the rectangle&#8217;s color to white and its alpha to 20%<br />
3- Bind the width property of the rectangle to the Position.TotalSeconds of the mediaElement</p>
<p>In design view<br />
Select the rectangle<br />
Click the yellow box next to the width property.<br />
Select &#8216;Databinding&#8217;<br />
Select the &#8216;Element Property&#8217; tab<br />
In the &#8220;Scene Elements&#8217; list, select the mediaElement control<br />
In the properties list select &#8216;Position / TotalSeconds&#8217;</p>
<p>The end result in XAML is:  Width=&#8221;{Binding Position.TotalSeconds, ElementName=mp, Mode=OneWay}&#8221;</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/ProgressBar/progressbar.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:local=&quot;clr-namespace:HuluSilverLight&quot;
	x:Class=&quot;HuluSilverLight.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;276&quot; mc:Ignorable=&quot;d&quot;&gt;
	&lt;Grid x:Name=&quot;LayoutRoot&quot; Margin=&quot;0,0,0,201&quot;&gt;
		&lt;MediaElement x:Name=&quot;mp&quot; Margin=&quot;0,-42,0,-240&quot; Source=&quot;http://www.paulyanez.com/interactive/blog/HD/darkknight.wmv&quot; /&gt;
		&lt;local:hulu_player Height=&quot;32&quot; Margin=&quot;0,0,0,-199&quot; VerticalAlignment=&quot;Bottom&quot;/&gt;
                &lt;Rectangle x:Name=&quot;progressBar&quot; Fill=&quot;#3EFFFFFF&quot; Height=&quot;30&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;46,0,0,-198&quot; VerticalAlignment=&quot;Bottom&quot; RenderTransformOrigin=&quot;0,0.5&quot; Width=&quot;{Binding Position.TotalSeconds, ElementName=mp, Mode=OneWay}&quot;&gt;
			&lt;Rectangle.RenderTransform&gt;
				&lt;TransformGroup&gt;
					&lt;ScaleTransform ScaleX=&quot;2.5&quot;/&gt;
					&lt;SkewTransform/&gt;
					&lt;RotateTransform/&gt;
					&lt;TranslateTransform/&gt;
				&lt;/TransformGroup&gt;
			&lt;/Rectangle.RenderTransform&gt;
		&lt;/Rectangle&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HuluSilverLight
{
	public partial class hulu_player : UserControl
	{
		public hulu_player()
		{
			InitializeComponent();
		}

		private void pauseVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Pause();
		}

		private void playVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Play();
		}

	}
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Loading external video into your Hulu inspired Silverlight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 12:47:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[mediaelement]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=515</guid>
		<description><![CDATA[This is part 2 in our series of building a Hulu inspired video player. This tutorial may well be the most important in the process of building a Silverlight video player. In our previous example &#8220;Building a Play-Pause control for (...)]]></description>
			<content:encoded><![CDATA[<p>This is part 2 in our series of building a Hulu inspired video player. This tutorial may well be the most important in the process of building a Silverlight video player.<span id="more-515"></span></p>
<p>In our previous example <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">&#8220;Building a Play-Pause control for a Hulu inspired SilverLight video player&#8221;</a> the video was included within the Silverlight file. This caused a very bad user experience because the user had to wait to load the entire video before the file was shown.</p>
<p>By setting the video source to be remote, the Silverlight file is now 14k as compared to 6,700k. Now, the Silverlight file which simply contains a MediaElement is loaded almost instantaneously and the video plays as it loads.</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<p><font face="Georgia" color="#000000" size="4">You can play and pause the video</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/LoadExternalVideo/externalvideo.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:local=&quot;clr-namespace:HuluSilverLight&quot;
	x:Class=&quot;HuluSilverLight.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;276&quot; mc:Ignorable=&quot;d&quot;&gt;
	&lt;Grid x:Name=&quot;LayoutRoot&quot; Margin=&quot;0,0,0,201&quot;&gt;
		&lt;MediaElement x:Name=&quot;mp&quot; Margin=&quot;0,-42,0,-240&quot; Source=&quot;http://www.paulyanez.com/interactive/blog/HD/darkknight.wmv&quot; /&gt;
		&lt;local:hulu_player Height=&quot;32&quot; Margin=&quot;0,0,0,-199&quot; VerticalAlignment=&quot;Bottom&quot;/&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HuluSilverLight
{
	public partial class hulu_player : UserControl
	{
		public hulu_player()
		{
			InitializeComponent();
		}

		private void pauseVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Pause();
		}

		private void playVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Play();
		}

	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a Play-Pause control for a Hulu inspired SilverLight video player</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 05:26:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[hulu]]></category>
		<category><![CDATA[mediaelement]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[togglebutton]]></category>
		<category><![CDATA[video player]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=491</guid>
		<description><![CDATA[The following example is the Part 1 in a series of tutorials demonstrating how to build a Hulu inspired video player in Silverlight 3. This tutorial shows how to create a play-pause button control utilizing the ToggleButton control. 1- Place (...)]]></description>
			<content:encoded><![CDATA[<p>The following example is the Part 1 in a series of tutorials demonstrating how to build a Hulu inspired video player in Silverlight 3. This tutorial shows how to create a play-pause button control utilizing the ToggleButton control.  <span id="more-491"></span></p>
<p>1- Place a ToggleButton on the stage<br />
2- Right click and select &#8220;Edit Template / Edit a copy&#8221;<br />
3- Name your control<br />
4- Delete everything in the component &#8211; FocusVisualElement, DisabledVisualElement, contentPresenter and the Background. Do not delete the top level Grid.<br />
5- In the states panel add designs for the Normal, MouseOver and Pressed states.<br />
6- Add the Pause icon to the Unchecked CheckStates and the Play icon to the Checked CheckState.<br />
7- Add a MediaElement control and set it&#8217;s source.<br />
8- On your custom control add the code to pause and play the video on the Checked and UnChecked events.</p>
<p>View all parts of the tutorial<br />
Part 1 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/">Building a Play-Pause control</a><br />
Part 2 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/loading-external-video-into-your-hulu-inspired-silverlight-video-player/">Loading external video</a><br />
Part 3 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Progress Bar</a><br />
Part 4 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/11/building-a-download-progress-bar-for-your-hulu-inspired-silverlight-video-player/">Building a Download Progress Bar</a><br />
Part 5 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-control-for-your-hulu-inspired-silverlight-video-player/">Building a Volume Control</a><br />
Part 6 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-the-time-display-for-your-hulu-inspired-silverlight-video-player/">Building the Time Display</a><br />
Part 7 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-volume-slider-for-your-hulu-inspired-silverlight-video-player/">Volume Slider control</a><br />
Part 8 &#8211; <a href="http://paulyanez.com/interactive/index.php/2009/12/building-a-start-playing-button-for-your-hulu-inspired-silverlight-video-player/">Start playing button</a></p>
<p><font face="Georgia" color="#000000" size="4">You can play and pause the video</font></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="640" height="276"><param name="source" value="http://www.paulyanez.com/interactive/blog/PlayPause/play-pause.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot; xmlns:local=&quot;clr-namespace:HuluSilverLight&quot;
	x:Class=&quot;HuluSilverLight.MainPage&quot;
	Width=&quot;640&quot; Height=&quot;276&quot; mc:Ignorable=&quot;d&quot;&gt;
	&lt;Grid x:Name=&quot;LayoutRoot&quot; Margin=&quot;0,0,0,201&quot;&gt;
		&lt;MediaElement x:Name=&quot;mp&quot; Margin=&quot;0,-42,0,-240&quot; Source=&quot;IronMan.wmv&quot; /&gt;
		&lt;local:hulu_player Height=&quot;32&quot; Margin=&quot;0,0,0,-199&quot; VerticalAlignment=&quot;Bottom&quot;/&gt;
	&lt;/Grid&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace HuluSilverLight
{
	public partial class hulu_player : UserControl
	{
		public hulu_player()
		{
			InitializeComponent();
		}

		private void pauseVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Pause();
		}

		private void playVideo(object sender, System.Windows.RoutedEventArgs e)
		{
			(Application.Current.RootVisual as MainPage).mp.Play();
		}

	}
}
</pre>
<p><script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/building-a-play-pause-control-for-a-hulu-inspired-silverlight-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically creating thumbnails with WriteableBitmap and DispatcherTimer in Silverlight 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/dynamically-creating-thumbnails-of-video-frames-with-writeablebitmap-in-silverlight-3/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/dynamically-creating-thumbnails-of-video-frames-with-writeablebitmap-in-silverlight-3/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 20:43:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dispatchertimer]]></category>
		<category><![CDATA[mediaelement]]></category>
		<category><![CDATA[mediaended]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[timer]]></category>
		<category><![CDATA[writeablebitmap]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=479</guid>
		<description><![CDATA[In the previous example &#8220;Creating thumbnails of video frames with WriteableBitmap in Microsoft Expression Blend 3&#8243; the user was able to create thumbnails by clicking on the video display. The following example shows how thumbnails could be dynamically created by (...)]]></description>
			<content:encoded><![CDATA[<p>In the previous example <a href="http://paulyanez.com/interactive/index.php/2009/11/creating-thumbnails-of-video-frames-with-writeablebitmap-in-microsoft-expression-blend/">&#8220;Creating thumbnails of video frames with WriteableBitmap in Microsoft Expression Blend 3&#8243;</a> the user was able to create thumbnails by clicking on the video display.</p>
<p>The following example shows how thumbnails could be dynamically created by using DispatcherTimer thereby eliminating the need to click. <span id="more-479"></span></p>
<p>To stop the timer from firing, I simply hooked into the MediaElement mediaEnded event. </p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="600" height="600"><param name="source" value="http://www.paulyanez.com/interactive/blog/Timer/ImageSnapshotTimer.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
	x:Class=&quot;ImageSnapshot.MainPage&quot;
	Width=&quot;605&quot; Height=&quot;610&quot; mc:Ignorable=&quot;d&quot; Background=&quot;Black&quot;&gt;

	&lt;StackPanel  Orientation=&quot;Vertical&quot; HorizontalAlignment=&quot;Stretch&quot; Margin=&quot;10&quot;&gt;
		&lt;MediaElement x:Name=&quot;myMediaElement&quot; Source=&quot;/Movie.wmv&quot; Height=&quot;416&quot; d:LayoutOverrides=&quot;HorizontalMargin&quot; Cursor=&quot;Hand&quot; MediaEnded=&quot;stopTimer&quot;/&gt;
		&lt;ScrollViewer x:Name=&quot;scroller&quot; HorizontalScrollBarVisibility=&quot;Auto&quot; VerticalScrollBarVisibility=&quot;Hidden&quot; Height=&quot;160&quot; BorderBrush=&quot;{x:Null}&quot; Margin=&quot;8,0&quot;&gt;
			&lt;StackPanel x:Name=&quot;thumbs&quot; Orientation=&quot;Horizontal&quot; Margin=&quot;0,5,0,10&quot;  /&gt;
		&lt;/ScrollViewer&gt;
	&lt;/StackPanel&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Media.Imaging;

namespace ImageSnapshot
{
	public partial class MainPage : UserControl
	{
		System.Windows.Threading.DispatcherTimer myDispatcherTimer = new System.Windows.Threading.DispatcherTimer();

		public MainPage()
		{
			InitializeComponent();

            myDispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 500);
            myDispatcherTimer.Tick += new EventHandler(takeSnapShot);
            myDispatcherTimer.Start();
		}
		private void takeSnapShot(object o, EventArgs sender)
		{
			WriteableBitmap snapShot = new WriteableBitmap(myMediaElement, null);

			Image image = new Image();
			image.Height = 89;
			image.Margin = new Thickness(10);
			image.Source = snapShot;

			thumbs.Children.Add(image);
			scroller.UpdateLayout();
			double scrollPos = thumbs.ActualWidth;
			scroller.ScrollToHorizontalOffset(scrollPos);
		}

		private void stopTimer(object sender, System.Windows.RoutedEventArgs e)
		{
			myDispatcherTimer.Stop();
		}
	}
}
</pre>
<p> <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/dynamically-creating-thumbnails-of-video-frames-with-writeablebitmap-in-silverlight-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating thumbnails of video frames with WriteableBitmap in Microsoft Expression Blend 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/creating-thumbnails-of-video-frames-with-writeablebitmap-in-microsoft-expression-blend/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/creating-thumbnails-of-video-frames-with-writeablebitmap-in-microsoft-expression-blend/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 08:03:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[writeablebitmap]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=441</guid>
		<description><![CDATA[Click on video to create thumbnails The following example shows how to create thumbnails by using the WriteableBitmap class. XAML code &#60;UserControl xmlns=&#34;http://schemas.microsoft.com/winfx/2006/xaml/presentation&#34; xmlns:x=&#34;http://schemas.microsoft.com/winfx/2006/xaml&#34; xmlns:d=&#34;http://schemas.microsoft.com/expression/blend/2008&#34; xmlns:mc=&#34;http://schemas.openxmlformats.org/markup-compatibility/2006&#34; x:Class=&#34;ImageSnapshot.MainPage&#34; Width=&#34;605&#34; Height=&#34;610&#34; mc:Ignorable=&#34;d&#34; Background=&#34;Black&#34;&#62; &#60;StackPanel Orientation=&#34;Vertical&#34; HorizontalAlignment=&#34;Stretch&#34; Margin=&#34;10&#34;&#62; &#60;MediaElement x:Name=&#34;myMediaElement&#34; Source=&#34;/Movie.wmv&#34; MouseLeftButtonDown=&#34;takeSnapShot&#34; Height=&#34;416&#34; (...)]]></description>
			<content:encoded><![CDATA[<p><font face="Georgia" color="#000000" size="4">Click on video to create thumbnails</font><br />
The following example shows how to create thumbnails by using the WriteableBitmap class. <span id="more-441"></span></p>
<form id="form1" runat="server" style="height:100%">
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="600" height="600"><param name="source" value="http://www.paulyanez.com/interactive/blog/WriteAbleBitmap/ImageSnapshot.xap"/><param name="onError" value="onSilverlightError" /><param name="background" value="white" /><param name="minRuntimeVersion" value="3.0.40624.0" /><param name="autoUpgrade" value="true" /><a href="http://go.microsoft.com/fwlink/?LinkID=149156&#038;v=3.0.40624.0" style="text-decoration:none"><br />
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/></p>
<p>		  </a><br />
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
</p></form>
<p><font face="Georgia" color="#000000" size="4">XAML code</font></p>
<pre class="brush: xml;">

&lt;UserControl
	xmlns=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
	xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
	xmlns:d=&quot;http://schemas.microsoft.com/expression/blend/2008&quot; xmlns:mc=&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;
	x:Class=&quot;ImageSnapshot.MainPage&quot;
	Width=&quot;605&quot; Height=&quot;610&quot; mc:Ignorable=&quot;d&quot; Background=&quot;Black&quot;&gt;

	&lt;StackPanel  Orientation=&quot;Vertical&quot; HorizontalAlignment=&quot;Stretch&quot; Margin=&quot;10&quot;&gt;
		&lt;MediaElement x:Name=&quot;myMediaElement&quot; Source=&quot;/Movie.wmv&quot; MouseLeftButtonDown=&quot;takeSnapShot&quot; Height=&quot;416&quot; d:LayoutOverrides=&quot;HorizontalMargin&quot; Cursor=&quot;Hand&quot;/&gt;
		&lt;ScrollViewer x:Name=&quot;scroller&quot; HorizontalScrollBarVisibility=&quot;Auto&quot; VerticalScrollBarVisibility=&quot;Hidden&quot; Height=&quot;160&quot; BorderBrush=&quot;{x:Null}&quot; Margin=&quot;8,0&quot;&gt;
			&lt;StackPanel x:Name=&quot;thumbs&quot; Orientation=&quot;Horizontal&quot; Margin=&quot;0,5,0,10&quot;  /&gt;
		&lt;/ScrollViewer&gt;
	&lt;/StackPanel&gt;
&lt;/UserControl&gt;
</pre>
<p><font face="Georgia" color="#000000" size="4">C# code</font></p>
<pre class="brush: cpp;">

using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Media.Imaging;

namespace ImageSnapshot
{
	public partial class MainPage : UserControl
	{
		public MainPage()
		{
			InitializeComponent();
		}

		private void takeSnapShot(object sender, MouseButtonEventArgs e)
		{
			WriteableBitmap snapShot = new WriteableBitmap(myMediaElement, null);

			Image image = new Image();
			image.Height = 89;
			image.Margin = new Thickness(10);
			image.Source = snapShot;

			thumbs.Children.Add(image);
			scroller.UpdateLayout();
			double scrollPos = thumbs.ActualWidth;
			scroller.ScrollToHorizontalOffset(scrollPos);
		}
	}
}
</pre>
<p> <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null &#038;&#038; sender != 0) {
              appSource = sender.getHost().Source;
            }</p>
<p>            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;</p>
<p>            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }</p>
<p>            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;</p>
<p>            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";</p>
<p>            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }</p>
<p>            throw new Error(errMsg);
        }
    </script></p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/creating-thumbnails-of-video-frames-with-writeablebitmap-in-microsoft-expression-blend/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SilverLight will be the Adobe Flash killer</title>
		<link>http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 02:03:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=370</guid>
		<description><![CDATA[Prediction I am making a very big prediction, it is the beginning of the end of Adobe Flash. When I first saw Flash 12 years ago I knew immediately that this was it, it was light years ahead of anything (...)]]></description>
			<content:encoded><![CDATA[<p><font face="Georgia" color="#000000" size="4">Prediction</font><br />
I am making a very big prediction, it is the beginning of the end of Adobe Flash. When I first saw Flash 12 years ago I knew immediately that this was it, it was light years ahead of anything on the web. It is rare that you see something and know immediately that this is going to be big. In the years 1998, 99, 2000 the Flash community was awesome, it was like we were in the wild west just discovering new stuff. I really felt I was in on something and could not believe that other people could not see the same. </p>
<p><font face="Georgia" color="#000000" size="4">The Debate</font><br />
You may have seen numerous articles on the Flash vs Silverlight debate such as this <a href="http://www.bigspaceship.com/blog/labs/thoughts-on-silverlight/">one</a>. I believe that the articles being written and discussions that are taking place are simply asking the wrong questions.</p>
<p>The discussions should not be between the specific details of Flash and Silverlight. But it should be at a higher level, such as &#8220;How long will it take me to become a professional in Silverlight?&#8221;, by professional, I mean someone is compensated for their work. Just think of the possibilities that are opened up by learning this product, you basically open yourself up to a whole new industry. </p>
<p><font face="Georgia" color="#000000" size="4">Learning Curve</font><br />
So if I am right, the million dollar question is &#8211; How long is it going to take to learn this new software product?<br />
In my honest opinion if you are a Flash developer as soon as you start the program you will know about 60% of it right out of the box. Simply due to the similarities between Flash and Blend, practically the same tools, timeline, stage, properties, layout code etc. The following videos I have made are about 30 minutes in total length and will get you up to about 80%. Think about that, 80% knowledge of a new product and you have invested less than an hour. </p>
<p><font face="Georgia" color="#000000" size="2">Animation</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/introduction-to-animation-in-microsoft-expression-blend-3/">Introduction to Animation in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Integration with Adobe</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/importing-graphics-from-adobe-illustrator-into-microsoft-expression-blend-3/">Importing graphics from Adobe Illustrator into Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Customizing Cursors</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/implementing-a-custom-cursor-in-microsoft-expression-blend-3/">Implementing a custom hit area in Microsoft Expression Blend 3  </a></p>
<p><font face="Georgia" color="#000000" size="2">Drawing</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/exploring-the-gradient-tool-in-microsoft-expression-blend-3/">Exploring the Gradient tool in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Layout</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/exploring-the-canvas-control-in-microsoft-expression-blend-3/">Exploring the Canvas control in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Video</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/creating-a-silverlight-video-player-in-microsoft-expression-blend-3/">Creating a Silverlight video player in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Layers</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/exploring-the-objects-panel-in-microsoft-expression-blend-3/">Exploring the Objects panel in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Creating Buttons</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/creating-a-silverlight-button-with-microsoft-blend-3/">Creating a Silverlight button with Microsoft Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Styles</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/creating-a-resource-dictionary-with-microsoft-blend-3/">Creating a Resource Dictionary with Microsoft Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="2">Hit Area</font><br />
<a href="http://paulyanez.com/interactive/index.php/2009/10/implementing-a-custom-hit-area-in-microsoft-expression-blend-3/">Implementing a custom hit area in Microsoft Expression Blend 3 </a></p>
<p><font face="Georgia" color="#000000" size="4">Money</font><br />
When all is said and done, it comes down to money. If a developer is as knowledgeable in Flash and SilverLight, the Silverlight developer will be compensated more, PERIOD. The flash job opportunities mostly come by way of the Advertising field and game development worlds and the projects built are measured in days.</p>
<p>The Silverlight opportunities will come by way of Engineering based companies. Engineering companies mostly work on projects that are measured in years.</p>
<p><font face="Georgia" color="#000000" size="4">The Bottom Line&#8230;</font><br />
For the last 10 plus years when asked what I do, I would proudly say &#8220;I am a flash developer that &#8230;.<br />
Moving forward my answer will be &#8220;I create user experiences and I use products a,b,c.</p>
<p>Try <a href="http://www.microsoft.com/expression/try-it/Default.aspx#PageTop">Silverlight</a> for 60 days for free. I feel like it&#8217;s 1998 all over again and can&#8217;t believe more people aren&#8217;t aware of this movement. I am going to do everything I can to push Silverlight in front of everyone whether they are developers, users or clients.</p>
<p>Either way we will be the winners from this, us the developers. Microsoft and Adobe will be forced to improve.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/11/silverlight-will-be-the-adobe-flash-killer/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Introduction to Animation in Microsoft Expression Blend 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/10/introduction-to-animation-in-microsoft-expression-blend-3/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/10/introduction-to-animation-in-microsoft-expression-blend-3/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 10:07:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[blend]]></category>
		<category><![CDATA[keyframes]]></category>
		<category><![CDATA[silverlight]]></category>
		<category><![CDATA[storyboard]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=360</guid>
		<description><![CDATA[In this video I discuss a few keys topics of animation in Microsoft Expression Blend 3. Topics include storyboards, creating keyframes, setting transforms on objects and previewing within the Blend IDE.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/GFIcrV8KI-c&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/GFIcrV8KI-c?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
In this video I discuss a few keys topics of animation in Microsoft Expression Blend 3. Topics include storyboards, creating keyframes, setting transforms on objects and previewing within the Blend IDE.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/10/introduction-to-animation-in-microsoft-expression-blend-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Importing graphics from Adobe Illustrator into Microsoft Expression Blend 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/10/importing-graphics-from-adobe-illustrator-into-microsoft-expression-blend-3/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/10/importing-graphics-from-adobe-illustrator-into-microsoft-expression-blend-3/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 23:11:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[blend 3]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[importing]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=347</guid>
		<description><![CDATA[In this video I show how to import vector graphics from Adobe Illustrator and load it into a user control in Blend 3.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/OJyeFc-UPw8&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/OJyeFc-UPw8?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
In this video I show how to import vector graphics from Adobe Illustrator and load it into a user control in Blend 3.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/10/importing-graphics-from-adobe-illustrator-into-microsoft-expression-blend-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing a custom hit area in Microsoft Expression Blend 3</title>
		<link>http://paulyanez.com/interactive/index.php/2009/10/implementing-a-custom-hit-area-in-microsoft-expression-blend-3/</link>
		<comments>http://paulyanez.com/interactive/index.php/2009/10/implementing-a-custom-hit-area-in-microsoft-expression-blend-3/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 05:24:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video Tutorials]]></category>
		<category><![CDATA[blend 3]]></category>
		<category><![CDATA[hit area]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://paulyanez.com/interactive/?p=324</guid>
		<description><![CDATA[In the following video I show how to implement a custom hit area in Microsoft Expression Blend 3.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="645" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/KDhpTnEJmtI&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1&amp;autoplay=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="645" height="390" src="http://www.youtube.com/v/KDhpTnEJmtI?autoplay=0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br/><br />
In the following video I show how to implement a custom hit area in Microsoft Expression Blend 3.</p>
]]></content:encoded>
			<wfw:commentRss>http://paulyanez.com/interactive/index.php/2009/10/implementing-a-custom-hit-area-in-microsoft-expression-blend-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
