<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Brian Chau</title>
	<atom:link href="http://brianchau.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://brianchau.wordpress.com</link>
	<description>Welcome to my blogging page. Hope you will enjoy it.</description>
	<lastBuildDate>Sat, 07 Nov 2009 02:36:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='brianchau.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/73a3f727146f24eabc496197e67d71f0?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Brian Chau</title>
		<link>http://brianchau.wordpress.com</link>
	</image>
			<item>
		<title>AIR update framework for Flash CS4</title>
		<link>http://brianchau.wordpress.com/2009/11/07/air-update-framework-for-flash-cs4/</link>
		<comments>http://brianchau.wordpress.com/2009/11/07/air-update-framework-for-flash-cs4/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 02:34:45 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=286</guid>
		<description><![CDATA[While I was preparing for the upcoming eSeminar on AIR with Flash CS4, I researched on the topic of creating an AIR app that can detect version number and do update automatically. I found the following article by Jeff Swartz very easy to follow.
http://www.adobe.com/devnet/air/flash/quickstart/update_framework.html
It works perfectly. Still as I think about the whole process, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=286&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While I was preparing for the upcoming eSeminar on AIR with Flash CS4, I researched on the topic of creating an AIR app that can detect version number and do update automatically. I found the following article by Jeff Swartz very easy to follow.</p>
<p><a href="http://www.adobe.com/devnet/air/flash/quickstart/update_framework.html">http://www.adobe.com/devnet/air/flash/quickstart/update_framework.html</a></p>
<p>It works perfectly. Still as I think about the whole process, I wonder why we need the 2 xml files: updateConfig.xml and updateDescriptor.xml at all. The AIR update framework should allow the info of updateConfig.xml be scriptable in the AS code itself. And the checking of the version should be against the -app.xml that AIR packager generated. The updateDescriptor.xml is really redundant. I&#8217;m always striving for simplicity and the fact that I have to create 2 additional xml files is tedious work for me. Having said that at least the update framework works so I can&#8217;t complaint too much:)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=286&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/11/07/air-update-framework-for-flash-cs4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning resources materials for the teachers by the teachers</title>
		<link>http://brianchau.wordpress.com/2009/09/29/learning-resources-materials-for-the-teachers-by-the-teachers/</link>
		<comments>http://brianchau.wordpress.com/2009/09/29/learning-resources-materials-for-the-teachers-by-the-teachers/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 01:22:29 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/2009/09/29/learning-resources-materials-for-the-teachers-by-the-teachers/</guid>
		<description><![CDATA[Below are links to 2 websites which have a lot of great learning and teaching materials. And these web sites are all created by teachers who are passionate in technology and so dedicate their own time to build the sites. Very commendable. Check this out:
http://teachersbeehive.com/
http://www.flashclassroom.com/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=284&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Below are links to 2 websites which have a lot of great learning and teaching materials. And these web sites are all created by teachers who are passionate in technology and so dedicate their own time to build the sites. Very commendable. Check this out:</p>
<p><a href="http://teachersbeehive.com/">http://teachersbeehive.com/</a></p>
<p><a href="http://www.flashclassroom.com/">http://www.flashclassroom.com/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=284&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/09/29/learning-resources-materials-for-the-teachers-by-the-teachers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Cancer Council Fundraising</title>
		<link>http://brianchau.wordpress.com/2009/09/16/cancer-council-fundraising/</link>
		<comments>http://brianchau.wordpress.com/2009/09/16/cancer-council-fundraising/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 04:42:15 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/2009/09/16/cancer-council-fundraising/</guid>
		<description><![CDATA[It&#8217;s the time of the year again. Adobe Pacific is running a fundraising event for the Cancer Council Australia. In particular, there is a photo competition which goes along with the event. If you would like to support a good cause and have a bit of fun, check this out:
http://www.livingawesomeness.com/
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=279&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It&#8217;s the time of the year again. Adobe Pacific is running a fundraising event for the Cancer Council Australia. In particular, there is a photo competition which goes along with the event. If you would like to support a good cause and have a bit of fun, check this out:<br />
<a href="http://www.livingawesomeness.com/">http://www.livingawesomeness.com/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=279&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/09/16/cancer-council-fundraising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Photoshop.com Mobile for HTC TouchPro 2</title>
		<link>http://brianchau.wordpress.com/2009/08/22/photoshop-com-mobile-for-htc-touchpro-2/</link>
		<comments>http://brianchau.wordpress.com/2009/08/22/photoshop-com-mobile-for-htc-touchpro-2/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 08:43:31 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=274</guid>
		<description><![CDATA[I have recently upgraded my phone to the HTC Touch Pro 2. It is a lovely phone and I would say by far the best Windows Mobile phone out there. I have been trying out the Photoshop.com Mobile and am pleased to say the it runs well on TouchPro 2. The program reads the photo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=274&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have recently upgraded my phone to the <a href="http://www.htc.com/au/product/touchpro2/overview.html">HTC Touch Pro 2</a>. It is a lovely phone and I would say by far the best Windows Mobile phone out there. I have been trying out the Photoshop.com Mobile and am pleased to say the it runs well on TouchPro 2. The program reads the photo stored in my phone and let me choose which one to upload. Recently Photoshop.com (desktop version) has a new feature which allows users to upload and share videos as well. This isn&#8217;t available for the mobile version yet. I hope it would be there one day.</p>
<p>To try out Photoshop.com Mobile, go to:</p>
<p><a href="https://www.photoshop.com/?wf=mobile&amp;promoid=DTELE">https://www.photoshop.com/?wf=mobile&amp;promoid=DTELE</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=274&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/08/22/photoshop-com-mobile-for-htc-touchpro-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Run-time Error Handling for Flash App</title>
		<link>http://brianchau.wordpress.com/2009/08/08/run-time-error-handling-for-flash-app/</link>
		<comments>http://brianchau.wordpress.com/2009/08/08/run-time-error-handling-for-flash-app/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 08:24:32 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=272</guid>
		<description><![CDATA[I have been preparing an eSeminar on the topic of Flash Security. It was then I started reading about the subject of run-time error handling, like how to handle when security does not permit certain actions. Broadly speaking, there are asynchronous run-time error and synchronous run-time error.
Below is an example of handling async security run-time error when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=272&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been preparing an eSeminar on the topic of Flash Security. It was then I started reading about the subject of run-time error handling, like how to handle when security does not permit certain actions. Broadly speaking, there are asynchronous run-time error and synchronous run-time error.</p>
<p>Below is an example of handling async security run-time error when loading of external data is not permitted. As you can see the way to deal with this is to use event listener:</p>
<p>var xmlData:URLLoader = new URLLoader();</p>
<p>xmlData.load(new URLRequest(&#8220;<a href="http://localhost/FlashSecurity/fms_rss.xml">http://localhost/FlashSecurity/fms_rss.xml</a>&#8220;));</p>
<p>xmlData.addEventListener(Event.COMPLETE, doData);</p>
<p>function doData(e:Event):void<br />
{<br />
 result_txt.appendText(xmlData.data);<br />
}</p>
<p>// use event listener to handle asynchronous error<br />
xmlData.addEventListener(SecurityErrorEvent.SECURITY_ERROR, doError);</p>
<p>function doError(e:SecurityErrorEvent):void<br />
{<br />
 result_txt.appendText(String(e));<br />
}</p>
<p>Below is an example of handling sync security run-time error when cross-scripting is not permitted. As you can see the way to handle this is to use try/catch mechanism:</p>
<p>var swfContent:Loader = new Loader();<br />
stage.addChild(swfContent);<br />
swfContent.x = swfContent.y = 0;</p>
<p>swfContent.load(new URLRequest(&#8220;<a href="http://localhost/FlashSecurity/b.swf">http://localhost/FlashSecurity/b.swf</a>&#8220;));</p>
<p>swfContent.contentLoaderInfo.addEventListener(Event.COMPLETE, doContent);</p>
<p>function doContent(e:Event):void<br />
{<br />
 // use a try and catch block to handle synchronous error<br />
 try<br />
 {<br />
  swfContent.content["lensFlare_mc"].play();<br />
 }<br />
 catch (e:Error)<br />
 {<br />
  result_txt.appendText(String(e));<br />
 } <br />
}</p>
<p>You can find more details description of error handling at the AS 3 help.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=272&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/08/08/run-time-error-handling-for-flash-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Best Desktop Zooming Tool Ever</title>
		<link>http://brianchau.wordpress.com/2009/08/06/best-desktop-zooming-tool-ever/</link>
		<comments>http://brianchau.wordpress.com/2009/08/06/best-desktop-zooming-tool-ever/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 23:24:39 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=267</guid>
		<description><![CDATA[I have previously posted about the nifty little utility called ZoomIt that I downloaded from the Microsoft site. It was great for doing presentation and software demonstration. ZoomIt is now updated to version 4 and it is everything I want from a desktop zooming tool. Live Zoom is now working properly in my ThinkPad running [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=267&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have previously posted about the nifty little utility called ZoomIt that I downloaded from the Microsoft site. It was great for doing presentation and software demonstration. ZoomIt is now updated to version 4 and it is everything I want from a desktop zooming tool. Live Zoom is now working properly in my ThinkPad running Vista <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you are running Windows, that is a great utility to have. If I were MS CEO, I would put that into Win 7. It is much better than the built-in zoom tool. Check this out at:</p>
<p><a href="http://technet.microsoft.com/en-us/sysinternals/bb897434.aspx">http://technet.microsoft.com/en-us/sysinternals/bb897434.aspx</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=267&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/08/06/best-desktop-zooming-tool-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Looping video with Flash CS4 Video Component</title>
		<link>http://brianchau.wordpress.com/2009/07/24/looping-video-with-flash-cs4-video-component/</link>
		<comments>http://brianchau.wordpress.com/2009/07/24/looping-video-with-flash-cs4-video-component/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 02:01:36 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=263</guid>
		<description><![CDATA[I got a demo requirement to have a video playing continuously within the Flash CS4 video component. I found that none of the skins include a loop button. Bummer. So I create one. Fortunately the video component has a video event call &#8220;autowound&#8221; which I can use to trigger the play method once the playhead [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=263&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I got a demo requirement to have a video playing continuously within the Flash CS4 video component. I found that none of the skins include a loop button. Bummer. So I create one. Fortunately the video component has a video event call &#8220;autowound&#8221; which I can use to trigger the play method once the playhead has been rewind. Below is the code for you to try it out:</p>
<p>import fl.video.VideoEvent;</p>
<p>fl_video.autoRewind = true; // fl_video being the name of the video component</p>
<p>fl_video.addEventListener(VideoEvent.AUTO_REWOUND, doLoop);</p>
<p>function doLoop(e:VideoEvent):void<br />
{<br />
 e.target.play();<br />
}</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=263&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/07/24/looping-video-with-flash-cs4-video-component/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Truely awesome video</title>
		<link>http://brianchau.wordpress.com/2009/07/15/truely-awesome-video/</link>
		<comments>http://brianchau.wordpress.com/2009/07/15/truely-awesome-video/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 00:59:13 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/2009/07/15/truely-awesome-video/</guid>
		<description><![CDATA[Click the link below for the Flash video site from Philips. It is so awesome I couldn&#8217;t find the words to describe how good it is. See for yourself.
http://www.cinema.philips.com/?ls=gb_en
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=260&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Click the link below for the Flash video site from Philips. It is so awesome I couldn&#8217;t find the words to describe how good it is. See for yourself.</p>
<p><a href="http://www.cinema.philips.com/?ls=gb_en">http://www.cinema.philips.com/?ls=gb_en</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/260/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/260/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/260/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=260&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/07/15/truely-awesome-video/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS layout &#8211; fix and fluid combined</title>
		<link>http://brianchau.wordpress.com/2009/07/05/css-layout-fix-and-fluid-combined/</link>
		<comments>http://brianchau.wordpress.com/2009/07/05/css-layout-fix-and-fluid-combined/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 09:03:57 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/?p=257</guid>
		<description><![CDATA[I have been playing with the Dreamweaver layout sample: 2 column hybrid. The hybrid layout is quite a flexible layout as it would expand or contract based on the width of the browser window. Problem would arise if the browser window is too narrow and the layout will flow beyond what I want. I found [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=257&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been playing with the Dreamweaver layout sample: 2 column hybrid. The hybrid layout is quite a flexible layout as it would expand or contract based on the width of the browser window. Problem would arise if the browser window is too narrow and the layout will flow beyond what I want. I found out that setting the CSS min-width attribute of the #container class would solve the problem. Horizontal scrollbar will display if the browser window is too narrow.</p>
<p>I then added the max-width attribute to the #container as well to see what happen. The end result is very good. It would mean that page would expand up to the max-width. Beyond that the layout would fix the width. I consider this the best of both world, fix and fluild combined layout.</p>
<p>Tested with MS IE 8 and Goolge Chrome. Haven&#8217;t tested on other browsers.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=257&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/07/05/css-layout-fix-and-fluid-combined/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
		<item>
		<title>Awesome Flash sites</title>
		<link>http://brianchau.wordpress.com/2009/06/29/awesome-flash-sites/</link>
		<comments>http://brianchau.wordpress.com/2009/06/29/awesome-flash-sites/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 13:08:38 +0000</pubDate>
		<dc:creator>brianchau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brianchau.wordpress.com/2009/06/29/awesome-flash-sites/</guid>
		<description><![CDATA[Someone showed me the following sites which are simply stunning:
Philips Cinema TV: http://www.cinema.philips.com/?ls=gb_en
Panasonic PMA Show: http://www.panasonic.com.au/pmashow/
Hope you like these.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=254&subd=brianchau&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Someone showed me the following sites which are simply stunning:</p>
<p>Philips Cinema TV: <a href="http://www.cinema.philips.com/?ls=gb_en">http://www.cinema.philips.com/?ls=gb_en</a></p>
<p>Panasonic PMA Show: <a href="http://www.panasonic.com.au/pmashow/">http://www.panasonic.com.au/pmashow/</a></p>
<p>Hope you like these.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/brianchau.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/brianchau.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/brianchau.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/brianchau.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/brianchau.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/brianchau.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/brianchau.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/brianchau.wordpress.com/254/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/brianchau.wordpress.com/254/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/brianchau.wordpress.com/254/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=brianchau.wordpress.com&blog=750209&post=254&subd=brianchau&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://brianchau.wordpress.com/2009/06/29/awesome-flash-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a88d89eeffc5e938c6ae16eab1dec349?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">brianchau</media:title>
		</media:content>
	</item>
	</channel>
</rss>