<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Webdevotion.be</title>
	
	<link>http://webdevotion.be/blog</link>
	<description>Developer for the Flash Platform</description>
	<pubDate>Wed, 05 Aug 2009 14:50:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/webdevotion" /><feedburner:info uri="webdevotion" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Smoothing &lt;mx:image/&gt; - the simple way</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/QwQVQwAM9U4/</link>
		<comments>http://webdevotion.be/blog/2009/08/05/smoothing-mximage-the-simple-way/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 14:50:20 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Flex]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[image]]></category>

		<category><![CDATA[smoothing]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=263</guid>
		<description><![CDATA[Solved this little problem the simple way.  One of the centralized file sharing applications we&#8217;re developing needed some form of branding at the bottom of the screens.  The logo bar, 1400 px wide, needs to be resized when the user changes the resolution of the browserwindow.
Without smoothing, things turn ugly and pixelated. With [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">S</span>olved this little problem the simple way.  One of the centralized file sharing applications we&#8217;re developing needed some form of branding at the bottom of the screens.  The logo bar, 1400 px wide, needs to be resized when the user changes the resolution of the browserwindow.</p>
<p>Without smoothing, things turn ugly and pixelated. With smoothing turned on, everything keeps looking the way it should, even when resized.</p>
<pre>
&lt;mx:VBox&gt;
    &lt;mx:script&gt;
	private function smoothImage ( img : Image ) : void
	{
		var bmp : Bitmap = img.content as Bitmap;
		bmp.smoothing = true;
	}
    &lt;/mx:script&gt;
    &lt;mx:image id=&quot;logoImage&quot; complete=&quot;smoothImage(logoImage)&quot; source=&quot;images/logo.png&quot; width=&quot;100%&quot; scaleContent=&quot;true&quot;/&gt;
&lt;/mx:VBox&gt;
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=QwQVQwAM9U4:jXLZPeS8q5I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=QwQVQwAM9U4:jXLZPeS8q5I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=QwQVQwAM9U4:jXLZPeS8q5I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=QwQVQwAM9U4:jXLZPeS8q5I:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=QwQVQwAM9U4:jXLZPeS8q5I:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/QwQVQwAM9U4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/08/05/smoothing-mximage-the-simple-way/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/08/05/smoothing-mximage-the-simple-way/</feedburner:origLink></item>
		<item>
		<title>How to merge two images into one using Actionscript</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/9yqB2wCYaHY/</link>
		<comments>http://webdevotion.be/blog/2009/08/05/how-to-merge-two-images-into-one-in-actionscript/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 13:18:38 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[bitmap]]></category>

		<category><![CDATA[image]]></category>

		<category><![CDATA[matrix]]></category>

		<category><![CDATA[position]]></category>

		<category><![CDATA[scale]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=254</guid>
		<description><![CDATA[Well, it&#8217;s very easy, using BitmapData and Bitmap.  This example makes things a bit more complex to show some principles.  Hope you learn something out of it off course.

// we'll scale the first ( background ) image by 50%
var s : Number = .5;

// create a matrix to make the scalilng of the [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">W</span>ell, it&#8217;s very easy, using BitmapData and Bitmap.  This example makes things a bit more complex to show some principles.  Hope you learn something out of it off course.</p>
<pre>
// we'll scale the first ( background ) image by 50%
var s : Number = .5;

// create a matrix to make the scalilng of the bitmap possible
var scaleMatrix : Matrix = new Matrix();

// apply the scaling to the matrix
scaleMatrix.scale(s,s);

// create a bitmapdata object from an existing bitmap ( "bmp" in this case )
var scaledBitmap : BitmapData = new BitmapData(bmp.width*s,bmp.height*s,false,0);

// draw the content and scale it using the matrix
scaledBitmap.draw(bmp,scaleMatrix);

// we have an embedded asset called "flickr", a flickr logo in gif format
var icon : Bitmap = new flickr() as Bitmap;

// let's place it in the bottom right corner
var ix : Number = scaledBitmap.width-icon.width;
var ij : Number = scaledBitmap.height-icon.height;

// create a matrix for the position of the icon
// note the use of the ix and ij variables in the parameters
var positionMatrix : Matrix = new Matrix(1,0,0,1,ix,ij);

// draw the icon bmp to the bitmapdata
scaledBitmap.draw( icon, positionMatrix );

// add the new, merged, bitmap to your displaylist
var bmp : Bitmap = new Bitmap( scaledBitmap );
addChild( bmp );	

// that's it!
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=9yqB2wCYaHY:MmYeEpAuugs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=9yqB2wCYaHY:MmYeEpAuugs:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=9yqB2wCYaHY:MmYeEpAuugs:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=9yqB2wCYaHY:MmYeEpAuugs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=9yqB2wCYaHY:MmYeEpAuugs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/9yqB2wCYaHY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/08/05/how-to-merge-two-images-into-one-in-actionscript/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/08/05/how-to-merge-two-images-into-one-in-actionscript/</feedburner:origLink></item>
		<item>
		<title>Binding between a DateField and a Button label at runtime</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/WsW9M-YPs0Y/</link>
		<comments>http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 06:08:13 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[binding]]></category>

		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=249</guid>
		<description><![CDATA[When creating a runtime component to use as a popup I wanted to bind a DateField&#8217;s selectedDate property to a Button label.  Because I never used bindings ( and a labelFunction ) using pure Actionscript before I had to come up with a solution.

This is what worked for me:
bt being a Button instance
df being [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">W</span>hen creating a runtime component to use as a popup I wanted to bind a DateField&#8217;s selectedDate property to a Button label.  Because I never used bindings ( and a labelFunction ) using pure Actionscript before I had to come up with a solution.<br />
<span id="more-249"></span><br />
This is what worked for me:</p>
<p>bt being a Button instance<br />
df being a DateField instance<br />
dateLabelFunction returns a formatted date as a string</p>
<p><code>BindingUtils.bindProperty( bt, "label", df, {name:"selectedDate",getter:function(df:DateField):String{return dateLabelFunction(df.selectedDate)}});</code></p>
<p>What we are doing here is:<br />
- Bind bt.label to df.selectedDate ( that&#8217;s the name:&#8221;selectedDate&#8221; part )<br />
- When retrieving the value of df.selectedDate use the &#8216;getter&#8217; function<br />
- The getter function returns a formatted date string</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=WsW9M-YPs0Y:mTMa3ek1Rew:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=WsW9M-YPs0Y:mTMa3ek1Rew:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=WsW9M-YPs0Y:mTMa3ek1Rew:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=WsW9M-YPs0Y:mTMa3ek1Rew:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=WsW9M-YPs0Y:mTMa3ek1Rew:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/WsW9M-YPs0Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/04/20/binding-between-a-datefield-and-a-button-label-at-runtime/</feedburner:origLink></item>
		<item>
		<title>Snippet day: last comma becomes “and”</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/izvS39Xjd8Y/</link>
		<comments>http://webdevotion.be/blog/2009/04/09/snippet-day-last-comma-becomes-and/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 08:25:40 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[Air]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=243</guid>
		<description><![CDATA[This little snippet will replace the last comma in a string by the word &#8221; and &#8220;.  Making it more readable for the end user. 
In other words: the string &#8220;Other examples are rats, mice,other rodents&#8221; will be converted into &#8220;Other examples are rats, mice and other rodents&#8221;.


var a : Array = ["rats","mice","other rodents"];
var [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">T</span>his little snippet will replace the last comma in a string by the word &#8221; and &#8220;.  Making it more readable for the end user. </p>
<p>In other words: the string &#8220;Other examples are rats, mice,other rodents&#8221; will be converted into &#8220;Other examples are rats, mice and other rodents&#8221;.<br />
<span id="more-243"></span><br />
<code><br />
var a : Array = ["rats","mice","other rodents"];<br />
var s : String = a.toString(); // returns rats,mice,other rodents<br />
var r : RegExp = /,(?![^,]+,)/g; // the magical formula<br />
s = s.replace( r ,&#8221; and &#8220;); // replace the last , with and<br />
trace( s ); // rats, mice and rodents<br />
</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=izvS39Xjd8Y:ndk_eFJjIpE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=izvS39Xjd8Y:ndk_eFJjIpE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=izvS39Xjd8Y:ndk_eFJjIpE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=izvS39Xjd8Y:ndk_eFJjIpE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=izvS39Xjd8Y:ndk_eFJjIpE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/izvS39Xjd8Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/04/09/snippet-day-last-comma-becomes-and/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/04/09/snippet-day-last-comma-becomes-and/</feedburner:origLink></item>
		<item>
		<title>Another job posting for www.mrhenry.be</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/CH28iVThVG0/</link>
		<comments>http://webdevotion.be/blog/2009/03/05/web-html-developer-vacature-mrhenry-antwerpen/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 20:10:36 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[antwerpen]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[mr henry]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[rails]]></category>

		<category><![CDATA[ruby]]></category>

		<category><![CDATA[vacature]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=240</guid>
		<description><![CDATA[We have another position available at Mr. Henry.
This time we&#8217;re looking out for someone who&#8217;s good with HTML, CSS and JavaScript.
Added bonus points if your also proficient with PHP and / or Ruby on Rails.
Go Go Go!
]]></description>
			<content:encoded><![CDATA[<p><span class="drop">W</span>e have <a href="http://webdevotion.be/blog/2009/02/25/job-opening-at-mr-henry/">another position</a> available at Mr. Henry.<br />
This time we&#8217;re looking out for someone who&#8217;s good with HTML, CSS and JavaScript.</p>
<p>Added bonus points if your also proficient with PHP and / or Ruby on Rails.</p>
<p><a href="http://workingat.mrhenry.be">Go Go Go!</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=CH28iVThVG0:n2MpZNWpPM4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=CH28iVThVG0:n2MpZNWpPM4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=CH28iVThVG0:n2MpZNWpPM4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=CH28iVThVG0:n2MpZNWpPM4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=CH28iVThVG0:n2MpZNWpPM4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/CH28iVThVG0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/03/05/web-html-developer-vacature-mrhenry-antwerpen/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/03/05/web-html-developer-vacature-mrhenry-antwerpen/</feedburner:origLink></item>
		<item>
		<title>Job opening at Mr. Henry</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/9OAEQEgNxM4/</link>
		<comments>http://webdevotion.be/blog/2009/02/25/job-opening-at-mr-henry/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 11:01:06 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Air]]></category>

		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[adobe]]></category>

		<category><![CDATA[coder]]></category>

		<category><![CDATA[full time]]></category>

		<category><![CDATA[job]]></category>

		<category><![CDATA[on site]]></category>

		<category><![CDATA[position]]></category>

		<category><![CDATA[programmer]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=237</guid>
		<description><![CDATA[We are looking for a developer for the Flash Platform.  It&#8217;s a full time, on site position for our office in Antwerp.
Get more info on our jobpage: http://workingat.mrhenry.be/
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mrhenry.be"><span class="drop">W</span>e</a> are looking for a developer for the Flash Platform.  It&#8217;s a full time, on site position for our office in Antwerp.</p>
<p>Get more info on our jobpage: <a href="http://workingat.mrhenry.be/">http://workingat.mrhenry.be/</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=9OAEQEgNxM4:UVaHomWci74:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=9OAEQEgNxM4:UVaHomWci74:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=9OAEQEgNxM4:UVaHomWci74:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=9OAEQEgNxM4:UVaHomWci74:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=9OAEQEgNxM4:UVaHomWci74:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/9OAEQEgNxM4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2009/02/25/job-opening-at-mr-henry/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2009/02/25/job-opening-at-mr-henry/</feedburner:origLink></item>
		<item>
		<title>How to PUT xml to a REST interface with Basic Authentication</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/6NUaunxwuLo/</link>
		<comments>http://webdevotion.be/blog/2008/12/12/how-to-put-xml-to-a-rest-interface-with-basic-authentication/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 12:36:31 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Air]]></category>

		<category><![CDATA[Flex]]></category>

		<category><![CDATA[Ruby On Rails]]></category>

		<category><![CDATA[actionscript 3]]></category>

		<category><![CDATA[assembla]]></category>

		<category><![CDATA[basic auth]]></category>

		<category><![CDATA[headers]]></category>

		<category><![CDATA[httprequest]]></category>

		<category><![CDATA[httpservice]]></category>

		<category><![CDATA[rest]]></category>

		<category><![CDATA[urlloader]]></category>

		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=220</guid>
		<description><![CDATA[Well, this thing got me going for a couple of hours before things worked out.  Using HTTPService did not seem to be the way to go.  Long story short: URLRequest to the rescue!



// basic authentication
var encoder : Base64Encoder = new Base64Encoder();
encoder.encode(username + ":" password);
// send xml
var header1:URLRequestHeader = new URLRequestHeader("Content-Type", "application/xml");
// authenticate
var header2:URLRequestHeader [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">W</span>ell, this thing got me going for a couple of hours before things worked out.  Using HTTPService did not seem to be the way to go.  Long story short: URLRequest to the rescue!</p>
<p><img src="http://webdevotion.be/blog/wp-content/xml-rest-api.jpg" alt="" title="xml-rest-api"  width="600" class="alignnone size-full wp-image-225" /></p>
<p><span id="more-220"></span><br />
<code><br />
// basic authentication<br />
var encoder : Base64Encoder = new Base64Encoder();<br />
encoder.encode(username + ":" password);<br />
// send xml<br />
var header1:URLRequestHeader = new URLRequestHeader("Content-Type", "application/xml");<br />
// authenticate<br />
var header2:URLRequestHeader = new URLRequestHeader("Authorization", "Basic " + encoder.toString());<br />
// accept xml as response<br />
var header3:URLRequestHeader = new URLRequestHeader("Accept","application/xml");</p>
<p>var request:URLRequest = new URLRequest( urlToRestAPI );<br />
// mmm, maybe not necessary = allready in the headers<br />
request.contentType = "application/xml";<br />
// push the headers in the request<br />
request.requestHeaders.push(header1);<br />
request.requestHeaders.push(header2);<br />
request.requestHeaders.push(header3);</p>
<p>// put your xml in a string: &quot;&lt;ticket&gt;&lt;summary&gt;my summary&lt;/summary&gt;&lt;/ticket&gt;&quot;<br />
// generate an XML instance from the string<br />
var xml : XML = new XML( s );<br />
// put the xml in the request instance<br />
request.data = xml;<br />
// use PUT ( could depend on the API you are using, check the docs )<br />
request.method = "PUT";<br />
// use the loader to send the request<br />
var loader : URLLoader = new URLLoader( null );<br />
// wait for the complete event to do other amazing things<br />
loader.addEventListener(Event.COMPLETE,onTicketUpdated,false,0,true);<br />
// fire in the hole!<br />
loader.load( request );<br />
// take a deep breath and wait a sec<br />
// for the complete event to be triggered<br />
</code></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=6NUaunxwuLo:xDYXbTiPx1Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=6NUaunxwuLo:xDYXbTiPx1Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=6NUaunxwuLo:xDYXbTiPx1Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=6NUaunxwuLo:xDYXbTiPx1Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=6NUaunxwuLo:xDYXbTiPx1Y:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/6NUaunxwuLo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2008/12/12/how-to-put-xml-to-a-rest-interface-with-basic-authentication/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2008/12/12/how-to-put-xml-to-a-rest-interface-with-basic-authentication/</feedburner:origLink></item>
		<item>
		<title>Soocial: sync that contact</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/cOtsJPHZS8k/</link>
		<comments>http://webdevotion.be/blog/2008/12/05/soocial-sync-that-contact/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 09:10:51 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[soocial]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=211</guid>
		<description><![CDATA[Soocial is the latest kid on the syncin&#8217; contacts block.  You can use it sync contacts across Mac, PC, phones, Gmail, &#8230;  It seems to work ok for me across OS X and Vista - I synced Gmail, Outlook and Address Book.
One problem for some people are pictures.  Contacts with pictures can&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.soocial.com"><span class="drop">S</span>oocial</a> is the latest kid on the syncin&#8217; contacts block.  You can use it sync contacts across Mac, PC, phones, Gmail, &#8230;  It seems to work ok for me across OS X and Vista - I synced Gmail, Outlook and Address Book.</p>
<p>One problem for some people are pictures.  Contacts with pictures can&#8217;t be synced for the moment, but that doesn&#8217;t affect me.  </p>
<p>People on Tweakers.net are a bit scared about the privacy issue; who gives you the right to store other people&#8217;s contact information online at a third party&#8217;s server?  That&#8217;s a valid point.</p>
<p>The upside of Soocial is the cancel button. You can cancel the account any given time.  This makes it perfectly possible to create a big backup of all your contacts using their tools and then cancel the account again.  So, no privacy issue there, given they actually destroy all the data off course.</p>
<p>One counterattack could be to make their software open source or to make it possible for people to install the package on their own servers.  But is using your own server safer?  Sometimes it could be, but a lot of times it isn&#8217;t. </p>
<p>Before I pressed the cancel button I took this screenshot to show you the clear cancellation policy of Soocial.<br />
<a href="http://webdevotion.be/blog/wp-content/picture-10.png"><img src="http://webdevotion.be/blog/wp-content/picture-10-300x223.png" alt="" title="picture-10" width="300" height="223" class="alignnone size-medium wp-image-213" /></a></p>
<p>Give it a whirl.  Maybe you&#8217;ll like it. A lot.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=cOtsJPHZS8k:H_-4TVIVQIU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=cOtsJPHZS8k:H_-4TVIVQIU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=cOtsJPHZS8k:H_-4TVIVQIU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=cOtsJPHZS8k:H_-4TVIVQIU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=cOtsJPHZS8k:H_-4TVIVQIU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/cOtsJPHZS8k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2008/12/05/soocial-sync-that-contact/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2008/12/05/soocial-sync-that-contact/</feedburner:origLink></item>
		<item>
		<title>Google supports iCal through Calaboration! Hurray!</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/A0En5x2xRkg/</link>
		<comments>http://webdevotion.be/blog/2008/12/03/google-supports-ical-hurray/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 11:46:41 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[calaboration]]></category>

		<category><![CDATA[calendar]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[iCal]]></category>

		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=203</guid>
		<description><![CDATA[After using some obscure workarounds, Google has released Calaboration.  A nice tool to sync your google calendars to iCal.  Setting up is a breeze and have yet to find issues ( using it for a couple of hours, so did not have much time to screw up right? ).

Go to Google&#8217;s download page
]]></description>
			<content:encoded><![CDATA[<p><span class="drop">A</span>fter using some obscure workarounds, Google has released Calaboration.  A nice tool to sync your google calendars to iCal.  Setting up is a breeze and have yet to find issues ( using it for a couple of hours, so did not have much time to screw up right? ).<br />
<span id="more-203"></span><br />
<div id="attachment_204" class="wp-caption alignnone" style="width: 509px"><a href="http://webdevotion.be/blog/wp-content/callab1.jpg"><img src="http://webdevotion.be/blog/wp-content/callab1.jpg" alt="Calaboration setup screen" title="calaboration" width="499" height="524" class="size-full wp-image-204" /></a><p class="wp-caption-text">Calaboration setup screen</p></div><br />
<a href="http://code.google.com/p/calaboration/downloads/list">Go to Google&#8217;s download page</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=A0En5x2xRkg:gnfut9K0--8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=A0En5x2xRkg:gnfut9K0--8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=A0En5x2xRkg:gnfut9K0--8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=A0En5x2xRkg:gnfut9K0--8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=A0En5x2xRkg:gnfut9K0--8:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/A0En5x2xRkg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2008/12/03/google-supports-ical-hurray/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2008/12/03/google-supports-ical-hurray/</feedburner:origLink></item>
		<item>
		<title>Finally: the end of blisterpackaging!</title>
		<link>http://feedproxy.google.com/~r/webdevotion/~3/anSHJTyWQRM/</link>
		<comments>http://webdevotion.be/blog/2008/11/17/finally-the-end-of-blisterpackaging/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 08:45:44 +0000</pubDate>
		<dc:creator>Webdevotion</dc:creator>
		
		<category><![CDATA[Marketing]]></category>

		<category><![CDATA[clamshell]]></category>

		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://webdevotion.be/blog/?p=198</guid>
		<description><![CDATA[Big companies are finally letting go those dreated clamshells!
Doesn&#8217;t ring a bell?  What about those plastic containers you need to cut open, risking the life of yourself and your anticipating surroundings?  You just bought something, got all excited to try that new CAT6 cable, but there you have it.  Must-get-around-this-hard-plastic-wrapper-within-15-seconds.  So [...]]]></description>
			<content:encoded><![CDATA[<p><span class="drop">B</span>ig companies are finally letting go those dreated <a href="http://www.flickr.com/photos/tags/clamshellpackage/">clamshells</a>!</p>
<p>Doesn&#8217;t ring a bell?  What about those plastic containers you need to cut open, risking the life of yourself and your anticipating surroundings?  You just bought something, got all excited to try that <a href="http://webdevotion.be/blog/2008/11/06/to-all-draytek-users-watch-out-with-hp-products/">new CAT6 cable</a>, but there you have it.  Must-get-around-this-hard-plastic-wrapper-within-15-seconds.  So you pull out your faithfull <a href="http://images.google.com/images?um=1&#038;hl=en&#038;client=safari&#038;rls=en-us&#038;q=haiku+knife&#038;btnG=Search+Images">Haiku</a> and start cutting away.  Chances are high you&#8217;ll end up with damaging the newly bought goods ( or the dog who&#8217;s trying to get close to the new toys ).  Your anticipating starts to diminish soon.  People start to leave the room while you are left frustrated.</p>
<p>Always wondered why they were out there in the first place.  I setteled on &#8220;must be to annoy shoplifters and to stress the owner&#8221;.  Curious to see the next-gen packaging methods in stores soon.</p>
<p>Read more in one of two flavours: <a href="http://tweakers.net/nieuws/56788/microsoft-en-sony-faseren-blisterverpakking-uit.html">story in Dutch</a> or <a href="http://www.nytimes.com/2008/11/15/technology/internet/15packaging.html">story in english</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/webdevotion?a=anSHJTyWQRM:BKac4JShZCA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/webdevotion?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=anSHJTyWQRM:BKac4JShZCA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=anSHJTyWQRM:BKac4JShZCA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/webdevotion?a=anSHJTyWQRM:BKac4JShZCA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/webdevotion?i=anSHJTyWQRM:BKac4JShZCA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/webdevotion/~4/anSHJTyWQRM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://webdevotion.be/blog/2008/11/17/finally-the-end-of-blisterpackaging/feed/</wfw:commentRss>
		<feedburner:origLink>http://webdevotion.be/blog/2008/11/17/finally-the-end-of-blisterpackaging/</feedburner:origLink></item>
	</channel>
</rss>
