<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Razvan Surdu</title>
	<link>http://blog.razvansurdu.com</link>
	<description>Personal Blog</description>
	<lastBuildDate>Tue, 25 May 2010 09:48:13 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Remove Focus From a Text Input In Flex</title>
		<description><![CDATA[If you want to remove the focus from a flex component you can use this:

this.stage.focus = null;

]]></description>
		<link>http://blog.razvansurdu.com/2010/05/remove-focus-from-a-text-input-in-flex/</link>
			</item>
	<item>
		<title>Singletons&#8230; Learning the hard way</title>
		<description><![CDATA[This post will be about the singletons, when you should use them and when not. I decided to write this post because I made a mistake on a project that I was working on using this design pattern and I had to spend half of day to fix it.
So if you don't know what a [...]]]></description>
		<link>http://blog.razvansurdu.com/2010/03/singletons-learning-the-hard-way/</link>
			</item>
	<item>
		<title>How character formats impact data delivery</title>
		<description><![CDATA[Here is an interesting video about character formats and how to create a more scalable solution. Credits to Kevin Hoyt. 

]]></description>
		<link>http://blog.razvansurdu.com/2009/12/how-character-formats-impact-data-delivery/</link>
			</item>
	<item>
		<title>One simple arhitecture for flex</title>
		<description><![CDATA[I am writing this article because many have asked me how to start a flex application and what are some best practices when laying out the foundation. I will create a mini project for this purpose and I will underline some important principals that you should consider when starting a flex application.
Ground rule: Separate your [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/11/one-simple-arhitecture-for-flex/</link>
			</item>
	<item>
		<title>Convert a Xml to an ArrayCollection in AS3</title>
		<description><![CDATA[Here is a quick method to convert a xml to an array collection. Because you pass the XML url (Eg: './assets/data.xml') to the first argument you will receive the array asynchronous using the callback function. If you have already the xml content in a variable use only the code in the anonymous function at the [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/11/convert-a-xml-to-an-arraycollection-in-as3/</link>
			</item>
	<item>
		<title>Great day for Flex/Flash Developers</title>
		<description><![CDATA[Today at Max 2009 Adobe announced the ability to build iPhone application with action script 3. Multitouch api and other were added to flash so developers could take advantage of the iPhone features. By the end of this year Adobe promised to release the tools required and personally I can't wait to create my first [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/10/great-day-for-flexflash-developers/</link>
			</item>
	<item>
		<title>Creating a system tray icon and menu for your AIR application</title>
		<description><![CDATA[
private function createSysTray():void
{
	if(NativeApplication.supportsDockIcon)
	{
		NativeApplication.nativeApplication.icon.bitmaps = 	[ new icon16().bitmapData ];
	    var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;
	    NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, showMainWindow);
	    dockIcon.menu = createIconMenu();
	} else if (NativeApplication.supportsSystemTrayIcon){
		NativeApplication.nativeApplication.icon.bitmaps = 	[ new icon16().bitmapData ];
	    var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;
	    sysTrayIcon.tooltip = "Tooltip";
	   	sysTrayIcon.addEventListener(MouseEvent.CLICK,function():void
	  [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/08/creating-a-system-tray-icon-and-menu-for-your-air-application/</link>
			</item>
	<item>
		<title>Retrieving a web page behind a proxy in php</title>
		<description><![CDATA[If you need to retrieve a web page or file from the web and you are behind a proxy that requires authentication you can use this methods:

$params = array
(
	'http' => array
	(
		'method' => 'GET',
		'header'  => 'Proxy-Authorization: Basic ' . base64_encode(PROXY_USERNAME . ':' . PROXY_PASSWORD) . "\r\n\r\n",
		'proxy' => 'tcp://PROXY_ADDRESS:PROXY_PORT',
		'request_fulluri' => true,
	)
);
$context = stream_context_create($params);

echo file_get_contents('http://www.google.com', null, $context);
For [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/08/retrieving-a-web-page-behind-a-proxy-in-php/</link>
			</item>
	<item>
		<title>From php to flex</title>
		<description><![CDATA[Being myself a developer that started with php and moved to flex I encourage all of php developers to read this article: http://corlan.org/2009/08/14/flex-for-php-developers-article/. Mihai Corlan, one of the best flex evangelists, described in great details the similarities and differences between php and flex.
Here is the table of contents:

What is Flex?

Flex: two languages, one framework to [...]]]></description>
		<link>http://blog.razvansurdu.com/2009/08/from-php-to-flex/</link>
			</item>
	<item>
		<title>Graduated</title>
		<description><![CDATA[On 16 July 2009 I graduated from the Automatics and Computer Science at the University of Polytechnic of Bucharest. Hoorrayy  
]]></description>
		<link>http://blog.razvansurdu.com/2009/08/graduated/</link>
			</item>
</channel>
</rss>
