<?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>Renato Moya</title>
	<atom:link href="http://www.renatomoya.cl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.renatomoya.cl</link>
	<description>Anything about RIA &#38; Web Technologies</description>
	<lastBuildDate>Sat, 14 Aug 2010 18:45:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>CodeIgniter Smiley Helper Internet Explorer Compatibility Issue</title>
		<link>http://www.renatomoya.cl/2010/08/codeigniter-smiley-helper-internet-explorer-compatibility-issue/</link>
		<comments>http://www.renatomoya.cl/2010/08/codeigniter-smiley-helper-internet-explorer-compatibility-issue/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 18:45:14 +0000</pubDate>
		<dc:creator>renatomoya</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.renatomoya.cl/?p=35</guid>
		<description><![CDATA[Last week I had some compatibility issues with the CodeIgniter Smiley Helper, it was working on all browser but the holy Internet Explorer. I am not sure if the bug was fixed already, so if you are having this issue, this is what i did to fix it. Open: system/helpers/smiley_helper.php Line 39: document.selection.createRange().text = text; [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I had some compatibility issues with the CodeIgniter Smiley Helper, it was working on all browser but the holy Internet Explorer.</p>
<p>I am not sure if the bug was fixed already, so if you are having this issue, this is what i did to fix it.</p>
<p>Open: system/helpers/smiley_helper.php</p>
<p>Line 39:</p>
<blockquote><p>document.selection.createRange().text = text;</p></blockquote>
<p>For some reason, Internet explorer says there&#8217;s an error there, I assume it is because the variable text does not exist within the function so I changed &#8216;text&#8217; for &#8216;smiley&#8217;.</p>
<blockquote><p>document.selection.createRange().text = smiley;</p></blockquote>
<p>And it worked, Internet Explorer 6+</p>
<div class="tw_button"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.renatomoya.cl%2F2010%2F08%2Fcodeigniter-smiley-helper-internet-explorer-compatibility-issue%2F&amp;via=renatomoya&amp;text=CodeIgniter%20Smiley%20Helper%20Internet%20Explorer%20Compatibility%20Issue&amp;related=&amp;lang=en&amp;count=horizontal" class="twitter-share-button" >Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.renatomoya.cl/2010/08/codeigniter-smiley-helper-internet-explorer-compatibility-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AMFPHP Browser issue: Function eregi_replace() is deprecated</title>
		<link>http://www.renatomoya.cl/2009/10/amfphp-browser-issue-function-eregi_replace-is-deprecated/</link>
		<comments>http://www.renatomoya.cl/2009/10/amfphp-browser-issue-function-eregi_replace-is-deprecated/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 16:00:26 +0000</pubDate>
		<dc:creator>renatomoya</dc:creator>
				<category><![CDATA[amfphp]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.renatomoya.cl/?p=23</guid>
		<description><![CDATA[Have anyone had this problem? When you try using amfphp 1.9 beta browser to test your methods, you get an error like this: Error retrieving service info: Function eregi_replace() is deprecated C:\${Your_address}\amfphp\core\shared\util\MethodTable.php on line 513 Well, the thing is since amfphp has practically no support anymore, since a newer version hasn&#8217;t been released in.. months? [...]]]></description>
			<content:encoded><![CDATA[<p>Have anyone had this problem? When you try using <strong>amfphp 1.9 beta</strong> browser to test your methods, you get an error like this:</p>
<blockquote><p>Error retrieving service info:<br />
Function eregi_replace() is deprecated<br />
C:\${Your_address}\amfphp\core\shared\util\MethodTable.php on line 513</p></blockquote>
<p>Well, the thing is since amfphp has practically no support anymore, since a newer version hasn&#8217;t been released in.. months? years? Who knows..</p>
<p>I googled a bit and I found the solution on a french forum. Looks like amfphp is throws this error because since I am using php5 on my server, the MethodTable script is using a deprecated function which needs to be updated in order to be functional again.</p>
<p>All you have to do to is go to: <strong>/amfphp/core/shared/utils</strong> and open the script <em>MethodTable.php</em></p>
<p>Find the line 505, if you&#8217;re using <a title="Notepad++" href="http://notepad-plus.sourceforge.net/" target="_blank">Notepad++</a> which I recommend developers to use since it is pretty handy and lightweight, just use the shortcut Ctrl + G, type in the line number and there you go.</p>
<p>Now, you need to replace these three lines:</p>
<blockquote><p>$comment = eregi_replace(&#8220;\n[ \t]+&#8221;, &#8220;\n&#8221;, trim($comment));<br />
$comment = str_replace(&#8220;\n&#8221;, &#8220;\\n&#8221;, trim($comment));<br />
$comment = eregi_replace(&#8220;[\t ]+&#8221;, &#8221; &#8220;, trim($comment));</p></blockquote>
<p>By these</p>
<blockquote><p>$comment = preg_replace(&#8220;`\n[ \t]+`U&#8221;, &#8220;\n&#8221;,trim($comment));<br />
$comment = str_replace(&#8220;\n&#8221;, &#8220;\\n&#8221;, trim($comment));<br />
$comment = preg_replace(&#8220;`[\t ]+`U&#8221;, &#8221; &#8220;,trim($comment));</p></blockquote>
<p>And problem solved.</p>
<p>As you see, eregi_replace() is the php function that was giving us troubles, and if you check the <a title="php.net" href="http://cl2.php.net/manual/en/function.eregi-replace.php" target="_blank">php documentation</a> the first thing you&#8217;ll see is a big warning sign telling you that this function is deprecated.</p>
<p>If anyone understand french, you can check the forum post where I find the solution: <a title="french form post" href="http://www.wampserver.com/phorum/read.php?1,52227" target="_blank">here</a></p>
<div class="tw_button"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.renatomoya.cl%2F2009%2F10%2Famfphp-browser-issue-function-eregi_replace-is-deprecated%2F&amp;via=renatomoya&amp;text=AMFPHP%20Browser%20issue%3A%20Function%20eregi_replace%28%29%20is%20deprecated&amp;related=&amp;lang=en&amp;count=horizontal" class="twitter-share-button" >Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.renatomoya.cl/2009/10/amfphp-browser-issue-function-eregi_replace-is-deprecated/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Useful information about Flex 4 Spark Containers</title>
		<link>http://www.renatomoya.cl/2009/10/useful-information-about-flex-4-spark-containers/</link>
		<comments>http://www.renatomoya.cl/2009/10/useful-information-about-flex-4-spark-containers/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:13:12 +0000</pubDate>
		<dc:creator>renatomoya</dc:creator>
				<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.renatomoya.cl/?p=20</guid>
		<description><![CDATA[I was watching a video about Flex 4 Containers and Layout a few minutes ago and I thought I&#8217;d like to post some information about it here. Did you know&#8230; Spark contains the following Containers: Non-skinnable containers Group DataGroup These containers CAN NOT have visual skins applied to them. Their only purpose is for laying [...]]]></description>
			<content:encoded><![CDATA[<p>I was watching a video about Flex 4 Containers and Layout a few minutes ago and I thought I&#8217;d like to post some information about it here.</p>
<p><em><strong>Did you know&#8230;</strong></em></p>
<blockquote><p>Spark contains the following Containers:</p>
<p><strong>Non-skinnable containers</strong></p>
<ul>
<li>Group</li>
<li>DataGroup</li>
</ul>
<p>These containers <strong>CAN NOT </strong>have visual skins applied to them. Their only purpose is for laying out controls or other containers.</p>
<p><strong>Skinnable containers</strong></p>
<ul>
<li>SkinnableContainer</li>
<li>SkinnableDataContainer</li>
<li>Panel</li>
<li>Application</li>
</ul>
<p>These containers <strong>CAN </strong>have visual skin applied to them. Their purpose is not only to laying out controls and other containers but also have custom look &amp; feel.</p>
<p>Of these four skinnable containers, only the Panel container have a default visual skin, the other three require that you apply a skin class to them.</p></blockquote>
<p>That&#8217;s all for now but I am planning on posting more about the <em>SkinnableDataContainer </em>and the <em></em><em>DataGroup </em>containers. So stay tuned!</p>
<div class="tw_button"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.renatomoya.cl%2F2009%2F10%2Fuseful-information-about-flex-4-spark-containers%2F&amp;via=renatomoya&amp;text=Useful%20information%20about%20Flex%204%20Spark%20Containers&amp;related=&amp;lang=en&amp;count=horizontal" class="twitter-share-button" >Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.renatomoya.cl/2009/10/useful-information-about-flex-4-spark-containers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4 Grayscale Skin &#8211; Built using Photoshop and Flash Catalyst Beta 2</title>
		<link>http://www.renatomoya.cl/2009/10/flex-4-grayscale-skin-built-using-photoshop-and-flash-catalyst-beta-2/</link>
		<comments>http://www.renatomoya.cl/2009/10/flex-4-grayscale-skin-built-using-photoshop-and-flash-catalyst-beta-2/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 21:44:23 +0000</pubDate>
		<dc:creator>renatomoya</dc:creator>
				<category><![CDATA[flashcatalyst]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[flash catalyst]]></category>

		<guid isPermaLink="false">http://www.renatomoya.cl/?p=11</guid>
		<description><![CDATA[Like I promised, my skin for the basic flex 4 components. After I finished this, I realized how powerful Flash Catalyst is, I am looking forward to post a tutorial about the basics. You can download the FXP file here: Flex Skin Grayscale Tweet]]></description>
			<content:encoded><![CDATA[<p>Like I promised, my skin for the basic flex 4 components.</p>
<p>After I finished this, I realized how powerful Flash Catalyst is, I am looking forward to post a tutorial about the basics.</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="400" height="300">
      <param name="movie" value="http://www.renatomoya.cl/wp-content/2009/10/flex_skin_grayscale1.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://www.renatomoya.cl/wp-content/2009/10/flex_skin_grayscale1.swf" width="400" height="300">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>You can download the FXP file here: <a title="Flex 4 skin grayscale" href="http://www.renatomoya.cl/wp-content/2009/10/flex_skin_grayscale.fxp">Flex Skin Grayscale</a></p>
<div class="tw_button"><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.renatomoya.cl%2F2009%2F10%2Fflex-4-grayscale-skin-built-using-photoshop-and-flash-catalyst-beta-2%2F&amp;via=renatomoya&amp;text=Flex%204%20Grayscale%20Skin%20-%20Built%20using%20Photoshop%20and%20Flash%20Catalyst%20Beta%202&amp;related=&amp;lang=en&amp;count=horizontal" class="twitter-share-button" >Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.renatomoya.cl/2009/10/flex-4-grayscale-skin-built-using-photoshop-and-flash-catalyst-beta-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

