<?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>Under Development :: Life in the Virtual World &#187; General</title>
	<atom:link href="http://underdevelopment.maravillaclan.net/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://underdevelopment.maravillaclan.net</link>
	<description>Learning to do it a little better</description>
	<lastBuildDate>Wed, 09 Dec 2009 12:23:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>vCalendar support in Thunderbird</title>
		<link>http://underdevelopment.maravillaclan.net/2009/12/09/vcalendar-support-in-thunderbird/</link>
		<comments>http://underdevelopment.maravillaclan.net/2009/12/09/vcalendar-support-in-thunderbird/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:19:48 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://underdevelopment.maravillaclan.net/?p=260</guid>
		<description><![CDATA[Being an open source supporter I usually opt to use applications such as FireFox over IE, OpenOffice over Microsoft Office, Thunderbird over Outlook. However there will be features that will be missed once you choose this path. At lease for the initial part. Thanks to the open source community these features will no longer be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://underdevelopment.maravillaclan.net/wp-content/uploads/2009/12/Lightning.png"><img class="size-full wp-image-263 alignright" title="Lightning" src="http://underdevelopment.maravillaclan.net/wp-content/uploads/2009/12/Lightning.png" alt="Lightning" width="200" height="142" align="right" /></a>Being an open source supporter I usually opt to use applications such as FireFox over IE, OpenOffice over Microsoft Office, Thunderbird over Outlook. However there will be features that will be missed once you choose this path. At lease for the initial part. Thanks to the open source community these features will no longer be missed as more and more member of the community adds support one piece at a time.</p>
<p>One such feature the was missed but now supported is the vCalendar support in Thunderbird. For some time I&#8217;ve had a hard time coordinating with the people in my company since the meetings are always done using the vCalendar. They even though I&#8217;m not interested in intending those scheduled events since I don&#8217;t reply to them. How could I? I couldn&#8217;t easy read the raw vCalendar format and reply to them. Installing Lightning in Thunderbird will enable you to read vCalendar format.  It will a calendar application that is useful in tracking events.</p>
<p>Here are the steps:</p>
<ol>
<li>Download the plug-in from <a href="https://addons.mozilla.org/en-US/thunderbird/addon/2313" target="_blank">https://addons.mozilla.org/en-US/thunderbird/addon/2313</a></li>
<li>On Thunderbird go to Tools-&gt;Add-ons.</li>
<li>This will open a new dialog. Click on install.</li>
<li>Locate the downloaded xpi file and click open. Make sure you selected the file type to display all types.</li>
<li>Restart Thunderbird. You&#8217;ll then be able to view vCalendar&#8217;s and either opt to attend, not attend, or confirm later.</li>
</ol>
<p>Reference: <a href="http://blog.andrewbeacock.com/2007/07/viewing-outlook-vcalendar-meeting.html" target="_blank">http://blog.andrewbeacock.com/2007/07/viewing-outlook-vcalendar-meeting.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2009/12/09/vcalendar-support-in-thunderbird/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash Lightbox Demo</title>
		<link>http://underdevelopment.maravillaclan.net/2009/03/20/flash-lightbox-demo/</link>
		<comments>http://underdevelopment.maravillaclan.net/2009/03/20/flash-lightbox-demo/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 06:31:15 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://underdevelopment.maravillaclan.net/?p=236</guid>
		<description><![CDATA[This is just a demo of a lightbox implementation in Flash. The code was developed by Jeff Garczewski and the original codes could be found here (http://www.huddletogether.com/projects/lightbox/).
 
Easy to integrate. All you need is to link the javascript and css files in your html and include the following lines on your Flash ActionScript.

on&#40;release&#41; &#123;
    [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a demo of a lightbox implementation in Flash. The code was developed by Jeff Garczewski and the original codes could be found <a href="http://www.huddletogether.com/projects/lightbox/" target="_blank">here</a> (<a href="http://www.huddletogether.com/projects/lightbox/" target="_blank">http://www.huddletogether.com/projects/lightbox/</a>).</p>
<p> </p>
<p>Easy to integrate. All you need is to link the javascript and css files in your html and include the following lines on your Flash ActionScript.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">on<span style="color: #009900;">&#40;</span>release<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    getURL<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;javascript:flashLightbox('path/to/imagejpg','Your Caption');&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p> <br />
You will need to add a wmode parameter when embedding the Flash media so that it won&#8217;t display on top of the Lightbox. For some reason though this doesn&#8217;t work on Firefox in Ubuntu.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;object</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;application/x-shockwave-flash&quot;</span> </span>
<span style="color: #009900;">           <span style="color: #000066;">data</span>=<span style="color: #ff0000;">&quot;myMovie.swf&quot;</span> </span>
<span style="color: #009900;">           <span style="color: #000066;">width</span>=<span style="color: #ff0000;">&quot;400&quot;</span> </span>
<span style="color: #009900;">           <span style="color: #000066;">height</span>=<span style="color: #ff0000;">&quot;400&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;movie&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;myMovie.swf&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
&nbsp;
    <span style="color: #808080; font-style: italic;">&lt;!-- Your MUST add the 'wmode' paramater or your flash will appear</span>
<span style="color: #808080; font-style: italic;">         over top of your lightbox images! --&gt;</span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;param</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;wmode&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;transparent&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/object<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h3 style="text-align: center;"><a href="http://webtools.maravillaclan.net/flash_lightbox/" target="_blank">Flash Light Box Demo</a></h3>
<p>Click the link above to see the demo.</p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2009/03/20/flash-lightbox-demo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash CMS v0.0.1</title>
		<link>http://underdevelopment.maravillaclan.net/2009/03/19/flash-cms-v001/</link>
		<comments>http://underdevelopment.maravillaclan.net/2009/03/19/flash-cms-v001/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 12:19:53 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://underdevelopment.maravillaclan.net/?p=217</guid>
		<description><![CDATA[This was a proof of concept we sent to our client requesting dynamic content for Flash media plus a web based editor for the content.
At first glance it seems as if they are asking for something that could take months to develop. However, it&#8217;s actually simple enough that could be done by patching one component [...]]]></description>
			<content:encoded><![CDATA[<p>This was a proof of concept we sent to our client requesting dynamic content for Flash media plus a web based editor for the content.</p>
<p>At first glance it seems as if they are asking for something that could take months to develop. However, it&#8217;s actually simple enough that could be done by patching one component from another. Done with one cup of coffee.</p>
<p>Flash supports HTML. But don&#8217;t get too excited. Flash only supports some basic tags. All you need then is to be able to push data to it. You could do this with several methods. One would be using LoadVars. Another one is the good old FlashVars and lastly through XML.</p>
<p>With this example we&#8217;re using LoadVars. Below are the only lines of codes you need to do a simple CMS.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// Simple just declare a text area contains an HTML markup</span>
_root.<span style="color: #660066;">content</span>.<span style="color: #660066;">html</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// Load the content</span>
<span style="color: #003366; font-weight: bold;">var</span> contentVars <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> LoadVars<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
contentVars.<span style="color: #000066;">onLoad</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>ok<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>ok<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    _root.<span style="color: #660066;">content</span>.<span style="color: #660066;">htmlText</span> <span style="color: #339933;">=</span> contentVars.<span style="color: #660066;">flash_content</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">// load the file (use .php extension to avoid browsers from caching the content)</span>
<span style="color: #006600; font-style: italic;">// no worries cause the content is encoded and no php script</span>
<span style="color: #006600; font-style: italic;">// could be executed with this process</span>
contentVars.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;flash_content.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// this is just to keep flash from running away</span>
<span style="color: #000066;">stop</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You might wonder why not just use Flash XML feature instead of LoadVars. Well that could be done also. It&#8217;s just what I felt doing at the time. Also since I was using php as my file extension XML might not be the right choice as it exposes some security holes.</p>
<p>Next step is the What-You-See-Is-What-You-Get editor (WYSIWYG). There are lots available in the net. For this example I used <a href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE</a>. You would need to configure or do some hack to make the editor only use the tags supported by Flash. List of supported tags could be found in <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808" target="_blank">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808.</a></p>
<p>Once you get that done next step is to push the content of the editor to Flash. This is where PHP plays its role. Of course you could use other server side scripting in place of it.</p>
<p>The result would be something like <a title="Flash CMS sample" href="http://webtools.maravillaclan.net/flash_cms/" target="_blank">this (Flash CMS sample)</a>. Go ahead and try it. You may also download the source files to modify and maybe improve it.</p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2009/03/19/flash-cms-v001/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://underdevelopment.maravillaclan.net/2007/10/24/hello-world/</link>
		<comments>http://underdevelopment.maravillaclan.net/2007/10/24/hello-world/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 08:53:35 +0000</pubDate>
		<dc:creator>Bong-Bong</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello world! Don&#8217;t you just love it! The first indication that your program is alive.
[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]
]]></description>
			<content:encoded><![CDATA[<p><strong>Hello world!</strong> Don&#8217;t you just love it! The first indication that your program is alive.</p>
<p>[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!]</p>
]]></content:encoded>
			<wfw:commentRss>http://underdevelopment.maravillaclan.net/2007/10/24/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
