<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>DeveloperNotes ~ Jim Jose</title>
	<atom:link href="http://developerzone.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://developerzone.wordpress.com</link>
	<description>eXploring the world of web technologies....</description>
	<lastBuildDate>Sat, 07 Aug 2010 04:53:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='developerzone.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/69c1f79998f1308b303c78c9b5f9e2bb?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>DeveloperNotes ~ Jim Jose</title>
		<link>http://developerzone.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://developerzone.wordpress.com/osd.xml" title="DeveloperNotes ~ Jim Jose" />
	<atom:link rel='hub' href='http://developerzone.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Openlaszlo &#8211; How to change the frame rate of the swf resource while playing??</title>
		<link>http://developerzone.wordpress.com/2008/02/01/openlaszlo-how-to-change-the-frame-rate-of-the-swf-resource-while-playing/</link>
		<comments>http://developerzone.wordpress.com/2008/02/01/openlaszlo-how-to-change-the-frame-rate-of-the-swf-resource-while-playing/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 16:50:16 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Developer Notes]]></category>
		<category><![CDATA[framerate]]></category>
		<category><![CDATA[openlaszlo]]></category>

		<guid isPermaLink="false">http://developerzone.wordpress.com/?p=8</guid>
		<description><![CDATA[In openlaszlo, all the swf resources will get played on a fixed frame rate of 30 fps. Even if you compile the flash swf with 12 fps, when laszlo plays it, it will be at 30 fps. This creates a lots of problems because the entire time-line gets screwed up&#8230; Here is a laszlo class <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=8&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>In openlaszlo, all the swf resources will get played on a fixed frame rate of 30 fps. Even if you compile the flash swf with 12 fps, when laszlo plays it, it will be at 30 fps. This creates a lots of problems because the entire time-line gets screwed up&#8230;</div>
<div>Here is a laszlo class file which can play the resources with a custom frame rate with in laszlo. Its not an advanced code, but can suit for many cases.</div>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>&lt;!&#8211; EXTENDED CLASS FOR PLAYING ANIMATION WITH CUSTOM FRAME RATE &#8211;&gt;<br />
&lt;class name=&#8221;iview&#8221; extends=&#8221;view&#8221; play=&#8221;false&#8221;&gt;<br />
&lt;attribute name=&#8221;frameRate&#8221; type=&#8221;number&#8221; value=&#8221;20&#8243; /&gt;<br />
&lt;attribute name=&#8221;_PlayerDel&#8221; /&gt;<br />
&lt;attribute name=&#8221;lastframe&#8221; type=&#8221;boolean&#8221; value=&#8221;false&#8221; /&gt;<br />
&lt;attribute name=&#8221;autostart&#8221; type=&#8221;boolean&#8221; value=&#8221;true&#8221; /&gt;</div>
<div>&lt;handler name=&#8221;oninit&#8221;&gt;<br />
this._PlayerDel = new LzDelegate(this,&#8221;playNextFrame&#8221;);<br />
&lt;/handler&gt;&lt;handler name=&#8221;onload&#8221;&gt;<br />
this.setPlay(false);<br />
this.setAttribute(&#8216;frame&#8217;,1);<br />
if(this.autostart){<br />
LzTimer.resetTimer(this._PlayerDel, (1000/this.frameRate) );<br />
}<br />
&lt;/handler&gt;</p>
<p>&lt;method name=&#8221;playNextFrame&#8221;&gt;<br />
this.setAttribute(&#8216;frame&#8217;,this.frame+1)<br />
LzTimer.resetTimer(this._PlayerDel, (1000/this.frameRate) );<br />
this.setPlay(false);<br />
&lt;/method&gt;</p>
<p>&lt;method name=&#8221;play2&#8243;&gt;<br />
LzTimer.resetTimer(this._PlayerDel, (1000/this.frameRate) );<br />
&lt;/method&gt;</p>
<p>&lt;method name=&#8221;stop2&#8243;&gt;<br />
LzTimer.removeTimer(this._PlayerDel);<br />
&lt;/method&gt;</p>
<p>&lt;handler name=&#8221;onframe&#8221;&gt;<br />
if(this.frame == this.totalframes){<br />
this.setAttribute(&#8216;lastframe&#8217;,true);<br />
}else{<br />
this.setAttribute(&#8216;lastframe&#8217;,false);<br />
}<br />
&lt;/handler&gt;</p>
<p>&lt;/class&gt;</p>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>I believe the attribute names are self explanatory. You have to use the <strong>play2()</strong>, <strong>stop2()</strong> function for controling the play while you can use the <strong>old play(), stop()</strong> functions to run it on 30 fps (laszlo default).</div>
<div>Example:</div>
<div>&lt;iview resource=&#8221;http:movieclip.swf&#8221; frameRate=&#8221;12&#8243; autostart=&#8221;false&#8221; /&gt;</div>
</div>
<div>If you have any doubts, feel free to ask me&#8230;</div>
<div>~ Jim</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/developerzone.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/developerzone.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developerzone.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developerzone.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developerzone.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=8&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developerzone.wordpress.com/2008/02/01/openlaszlo-how-to-change-the-frame-rate-of-the-swf-resource-while-playing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b098cf60d21d99d106b0cd540e635759?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jim Jose</media:title>
		</media:content>
	</item>
		<item>
		<title>Orkut is upgrading to opensocial version 0.7</title>
		<link>http://developerzone.wordpress.com/2008/01/31/orkut-is-upgrading-to-opensocial-version-07/</link>
		<comments>http://developerzone.wordpress.com/2008/01/31/orkut-is-upgrading-to-opensocial-version-07/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 18:37:21 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Developer Notes]]></category>
		<category><![CDATA[0.7]]></category>
		<category><![CDATA[opensocial]]></category>
		<category><![CDATA[orkut]]></category>
		<category><![CDATA[os]]></category>

		<guid isPermaLink="false">http://developerzone.wordpress.com/?p=7</guid>
		<description><![CDATA[Today, on 1-feb-2008 Friday orkut will get upgraded to opensocial version 0.7 which is considered to be the much stable than the previous versions. The importance of this release is that, now orkut will support almost all the features of the version 1.0. ie This release and the version 1.0 has the same feature list. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=7&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, on 1-feb-2008 Friday orkut will get upgraded to opensocial version 0.7 which is considered to be the much stable than the previous versions. The importance of this release is that, now orkut will support almost all the features of the version 1.0. ie This release and the version 1.0 has the same feature list.</p>
<p>The main interesting features included in 0.7 are,</p>
<ul>
<li>       <b>Support for viral growth.</b> Two new methods allow your application to send messages on behalf of a user. You can invite a user&#8217;s friends to install your application with the <code>requestShareApp</code> method.  You can also send an application-specific message with the <code>requestSendMessage</code> method.  Both of these methods require the user sending the message to authorize the request first.</li>
<li><b>Activity templates.</b> You can now define activity messages with placeholders for pieces of applicaton or user data. This separation of data and presentation allows multiple activities to be combined into activity summaries—consolidated bundles of activities that let users know what their friends are up to without having to wade through a flood of messages.</li>
</ul>
<p>(Also discussions are going on to give access to the &#8220;photo album&#8221; very soon)</p>
<p>Note: The existing opensocial application may need to have a couple of modifications to work with OS 0.7. Read the quote form the release note,</p>
<p>&#8220;<b></b>The <code>makeRequest</code> method has been moved from the <code>opensocial.*</code> namespace to <code>gadgets.io.makeRequest</code>. Also, two new fields, <code>HEADERS</code> and <code>POST_DATA</code>, have been added to <code>gadgets.io.RequestParameters</code> so you can now send arbitrary HTTP headers or POST data in your request.&#8221;</p>
<p>The second one sounds great, but the first one means your existing call to <code>opensocial.</code><code>makeRequest</code>() is gonna crash.</p>
<p>You can get a full release note for 0.7 here,</p>
<p><a href="http://code.google.com/apis/opensocial/docs/releasenotes.html#0.7">http://code.google.com/apis/opensocial/docs/releasenotes.html#0.7</a></p>
<p>And take a look at the api reference for 0.7&#8230; which can surely give you more ideas ;)</p>
<p><a href="http://code.google.com/apis/opensocial/docs/0.7/reference/"> http://code.google.com/apis/opensocial/docs/0.7/reference/</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/developerzone.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/developerzone.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developerzone.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developerzone.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developerzone.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=7&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developerzone.wordpress.com/2008/01/31/orkut-is-upgrading-to-opensocial-version-07/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b098cf60d21d99d106b0cd540e635759?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jim Jose</media:title>
		</media:content>
	</item>
		<item>
		<title>Opensocial &amp; facebook &#8211; The differnce in UI design (for applications)</title>
		<link>http://developerzone.wordpress.com/2008/01/29/opensocial-facebook-the-differnce-in-ui-design-for-applications/</link>
		<comments>http://developerzone.wordpress.com/2008/01/29/opensocial-facebook-the-differnce-in-ui-design-for-applications/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 19:24:03 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Developer Notes]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[component based design]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[opensocial]]></category>
		<category><![CDATA[ui design]]></category>

		<guid isPermaLink="false">http://developerzone.wordpress.com/?p=6</guid>
		<description><![CDATA[Anybody who is having experience with facebook application development will really appreciate their huge list of custom components which can be used structuring a smart UI very quickly. These components are actually keeping the real play in the hands of facebook but is very helpful on the developer point of view also. The another important <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=6&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Anybody who is having experience with facebook application development will really appreciate their huge list of custom components which can be used structuring a smart UI very quickly. These components are actually keeping the real play in the hands of facebook but is very helpful on the developer point of view also.</p>
<p>The another important plus point of these components is that, the application&#8217;s pages will MATCH with the overall facebook theme. I really loved those and always tried to use the power of those components.</p>
<p>You can find a list of facebook components (they call it &#8220;facebook tags&#8221;)  here,</p>
<p><a href="http://wiki.developers.facebook.com/index.php/FBML">http://wiki.developers.facebook.com/index.php/FBML</a></p>
<p>But, in the case of opensocial there are no pre-made components are available (I don&#8217;t know they are in consideration). But till now there are no discussions about such  developer friendly items.</p>
<p>Even if google didn&#8217;t started thinking about it (may be because they are busy with making a stable OS),  the concept has got huge value. In the present condition one opensocial developer should start his/her application from the very stone age and the resulting interface may not match with the proposed container. Even if he successfully managed to integrate it to one container (say orkut), he need to do much more work in the UI when he like to launch it in another container (like Hi5)</p>
<p>So get ready boyz&#8230; either u start building your own components or wait for google to get you some. Anyway I am gonna choose the first one and I believe that a cool choice for now.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/developerzone.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/developerzone.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developerzone.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developerzone.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developerzone.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=6&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developerzone.wordpress.com/2008/01/29/opensocial-facebook-the-differnce-in-ui-design-for-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b098cf60d21d99d106b0cd540e635759?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jim Jose</media:title>
		</media:content>
	</item>
		<item>
		<title>Openlaszlo &#8211; How to load large resources with progress bar</title>
		<link>http://developerzone.wordpress.com/2008/01/28/openlaszlo/</link>
		<comments>http://developerzone.wordpress.com/2008/01/28/openlaszlo/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 19:17:58 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Developer Notes]]></category>
		<category><![CDATA[adding progress bar]]></category>
		<category><![CDATA[laszlo]]></category>
		<category><![CDATA[openlaszlo]]></category>
		<category><![CDATA[resource loading]]></category>

		<guid isPermaLink="false">http://developerzone.wordpress.com/?p=4</guid>
		<description><![CDATA[Anybody like to show a progress bar while downloading large resources to your application at runtime?? I believe laszlo doesn&#8217;t provide any information about the number of bytes of resource downloaded&#8230; (if yes please let me know) Anyway, to get around this issue&#8230;. this was my trick 1) Load the resource using flash action script <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=4&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Anybody like to show a progress bar while downloading large resources to your application at runtime?? I believe laszlo doesn&#8217;t provide any information about the number of bytes of resource downloaded&#8230; (if yes please let me know)</p>
<p>Anyway, to get around this issue&#8230;. this was my trick <img src="http://forum.openlaszlo.org/images/smilies/wink.gif" class="inlineimg" border="0" /><br />
1) Load the resource using flash action script code&#8230;<br />
2) Then assign the resource.</p>
<p>By this way, the resource file will be available on the cache and laszlo will quickly load this. We can show the progress bar by tracking the flash image loader.</p>
<p>Here is the example code&#8230;. may be somebody finds it useful.</p>
<pre>
&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
&lt;canvas height="100%" width="100%" &gt;
&lt;simplelayout&gt;&lt;/simplelayout&gt;</code>

&lt;!-- CLASS TO HANDLE THE IMAGE DOWNLOAD AND TRACK THE PROGRESS --&gt;
&lt;!-- ~ JIM JOSE --&gt;
&lt;class name="iLoader"  extends="node" &gt;
&lt;attribute name="bytesLoaded" type="number" value="0"/&gt;
&lt;attribute name="bytesTotal" type="number" value="1"/&gt;
&lt;attribute name="finish" type="boolean" value="false" /&gt;
&lt;attribute name="resourceURL" type="string" value="" /&gt;
&lt;attribute name="_McLoader" /&gt;
&lt;attribute name="_McContainer" /&gt;
&lt;attribute name="_McListner" /&gt;

&lt;handler name="oninit"&gt;

_McLoader = new MovieClipLoader();
_McListner = new Object();
_McContainer = _root.createEmptyMovieClip("_McContainer",0);
_McListner.parent = this;

this.setStatus = function(bytesLoaded, bytesTotal){
this.setAttribute('bytesTotal',bytesTotal);
this.setAttribute('bytesLoaded',bytesLoaded);
this.setAttribute('finish', (bytesLoaded==bytesTotal) );
}
_McListner.onLoadProgress = function(target, bytesLoaded, bytesTotal){
this.parent.setStatus(bytesLoaded,bytesTotal);
}
_McListner.onLoadInit = function(target){
_McContainer._visible = false;
}
_McLoader.addListener(_McListner);

if(this.resourceURL.length &gt; 0){
this.onresourceURL.sendEvent();
}
&lt;/handler&gt;

&lt;method name="loadResource" args="url" &gt;
this.setAttribute('resourceURL',url);
&lt;/method&gt;

&lt;handler name="onresourceURL"&gt;
this.setAttribute('bytesLoaded',0);
this.setAttribute('bytesTotal',1);
this.setAttribute('finished',false);
_McLoader.loadClip(this.resourceURL,_McContainer);
&lt;/handler&gt;

&lt;/class&gt;

&lt;view width="100%" height="100%"&gt;

&lt;iLoader id="loader" resourceURL="http://www.seriouswheels.com/pics-2006/2006-Aston-Martin-DBS-James-Bond-Casino-Royale-Daniel-Craig-1024x768.jpg" &gt;
&lt;handler name="onfinish" args="done"&gt;
if(done){
Debug.write('----------- Image loaded');
imgHolder.setAttribute('resource',this.resourceURL);
}
&lt;/handler&gt;
&lt;handler name="onbytesLoaded"&gt;
Debug.write('Downloaded ' + this.bytesLoaded + ' of ' + this.bytesTotal + ' bytes' );
&lt;/handler&gt;
&lt;/iLoader&gt;

&lt;simplelayout axis="y" /&gt;
&lt;view width="${loader.bytesLoaded/loader.bytesTotal*parent.width}" height="20" bgcolor="red" /&gt;
&lt;view id="imgHolder" align="center" /&gt;

&lt;/view&gt;

&lt;/canvas&gt;
</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/developerzone.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/developerzone.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developerzone.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developerzone.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developerzone.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=4&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developerzone.wordpress.com/2008/01/28/openlaszlo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b098cf60d21d99d106b0cd540e635759?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jim Jose</media:title>
		</media:content>

		<media:content url="http://forum.openlaszlo.org/images/smilies/wink.gif" medium="image" />
	</item>
		<item>
		<title>The evolution of OpenSocial</title>
		<link>http://developerzone.wordpress.com/2008/01/28/the-evolution-of-opensocial/</link>
		<comments>http://developerzone.wordpress.com/2008/01/28/the-evolution-of-opensocial/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 18:09:20 +0000</pubDate>
		<dc:creator>Jim</dc:creator>
				<category><![CDATA[Developer Notes]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[opensocial]]></category>

		<guid isPermaLink="false">http://developerzone.wordpress.com/2008/01/28/the-evolution-of-opensocial/</guid>
		<description><![CDATA[Even though there are a lot number of networking sites out there, facebook was the first one to recognize the scope of integrating third party applications into their network. They created a platform where the developers can get access to user profile/activity informations with in a clearly defined application scope. Facebook was so successful in <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=3&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Even though there are a lot number of networking sites out there, <b>facebook</b> was the first one to recognize the scope of integrating third party applications into their network. They created a platform where the developers can get access to user profile/activity informations with in a clearly defined application scope. Facebook was so successful in executing this technique and now it has got more than 7,000 applications in it.</p>
<p>Other networking sites including myspace was also interested in developing such a platform to remain in the competition, but it was a difficult task since their existing structure is not so supportive.</p>
<p>On the other side, Google had their gadget technology which enables the developers to create applications for igoogle and google-desktop.</p>
<p>And there we go&#8230; google together with a whole bunch of service based sites announced their new concept of &#8220;OpenSocial&#8221; APIs, which not only enables the developers to create applications for a network, but also will be PORTABLE (theoretically) between the networks which supports opensocial. Actually opensocial is an extension of googles gadget technology which will give the base (common) platform for integrated applications developed in native HTML and JavaScript. The developer can also use flash widgets for application development.</p>
<p>So, whats the main difference between these two platform, opensocial and facebook ?? Well, the most important factor is that facebook apis can work only inside facebook but opensocial was work of different network platforms.</p>
<p>Opensocial sounds very exciting for all the developers on first sight. But it is still in beta version (latest, ver 0.7) and seems to have long way to go before actually getting stabilized. There are only limited documentation available and the security policies are still not clearly defined.</p>
<p>Opensocial has got server side handling with RESTful apis and the autentication is based on Oauth. Have a look at the developers documentation on code.google.com</p>
<p><a href="http://code.google.com/apis/gadgets/docs/dev_guide.html">http://code.google.com/apis/gadgets/docs/dev_guide.html</a></p>
<p>Google groups are also a very usefull place for the people who like to take their first step with opensocial,</p>
<p><a href="http://groups.google.com/group/opensocial">http://groups.google.com/group/opensocial</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/developerzone.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/developerzone.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developerzone.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developerzone.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developerzone.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developerzone.wordpress.com&amp;blog=2646289&amp;post=3&amp;subd=developerzone&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developerzone.wordpress.com/2008/01/28/the-evolution-of-opensocial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b098cf60d21d99d106b0cd540e635759?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jim Jose</media:title>
		</media:content>
	</item>
	</channel>
</rss>
