<?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>Argenisleon.com</title>
	<atom:link href="http://www.argenisleon.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.argenisleon.com</link>
	<description>AS3, PHP and javascript experiments</description>
	<lastBuildDate>Mon, 15 Mar 2010 21:08:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using flashvars with swfobject 2.2 and as3</title>
		<link>http://www.argenisleon.com/?p=51</link>
		<comments>http://www.argenisleon.com/?p=51#comments</comments>
		<pubDate>Mon, 15 Mar 2010 20:58:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.argenisleon.com/?p=51</guid>
		<description><![CDATA[After looking around in google almost 1 hour I did not find a simple example about using flashvars, as3 and swfobject 2.2 so I create this simple one.
Create the file index.html

&#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34; xml:lang=&#34;en&#34; lang=&#34;en&#34;&#62;
&#60;head&#62;
&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=iso-8859-1&#34; /&#62;
&#60;meta name=&#34;author&#34; content=&#34;www.argenisleon.com&#34;&#62;

&#60;title&#62;Using FlashVars with SWFObject 2.2 in ActionScript3&#60;/title&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;swfobject.js&#34;&#62;&#60;/script&#62;
&#60;/head&#62;
&#60;body&#62;
    &#60;div id=&#34;flashitem&#34;&#62;&#60;/div&#62;
	&#60;script type=&#34;text/javascript&#34;&#62;
		var flashvars [...]]]></description>
			<content:encoded><![CDATA[<p>After looking around in google almost 1 hour I did not find a simple example about using flashvars, as3 and swfobject 2.2 so I create this simple one.</p>
<p>Create the file index.html</p>
<pre class="brush: jscript;">
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;
&lt;meta name=&quot;author&quot; content=&quot;www.argenisleon.com&quot;&gt;

&lt;title&gt;Using FlashVars with SWFObject 2.2 in ActionScript3&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id=&quot;flashitem&quot;&gt;&lt;/div&gt;
	&lt;script type=&quot;text/javascript&quot;&gt;
		var flashvars = {
			name1: &quot;hello&quot;,
			name2: &quot;world&quot;,
			name3: &quot;foobar&quot;
		};
		var params = {};
		var attributes = {};
		swfobject.embedSWF(&quot;flashvars-as3.swf&quot;,  &quot;flashitem&quot;, &quot;300&quot;, &quot;300&quot;, &quot;9.0.0&quot;,&quot;expressInstall.swf&quot;, flashvars, params, attributes);
	&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>And a flash file named flashvars-as3.fla</p>
<pre class="brush: as3;">
    var allFlashVars:Object = LoaderInfo(this.root.loaderInfo).parameters;
    output.appendText(&quot;\n&quot; + String(allFlashVars['name1'])+ &quot;\n&quot;);
    output.appendText(&quot;\n&quot; + String(allFlashVars['name2'])+ &quot;\n&quot;);
    output.appendText(&quot;\n&quot; + String(allFlashVars['name3'])+ &quot;\n&quot;);
</pre>
<p>of course you need <a href="http://code.google.com/p/swfobject/">swfobject.js</a><br />
This example will pass the variables name1, name2 and name3 from the html file to the flash player.</p>
<p>Also you can download the whole files here. <a href='http://www.argenisleon.com/wp-content/uploads/2010/03/flashvars.zip'>flashvars.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.argenisleon.com/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Miel. Mobile Internet Explorer Logger</title>
		<link>http://www.argenisleon.com/?p=30</link>
		<comments>http://www.argenisleon.com/?p=30#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:58:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[logger]]></category>
		<category><![CDATA[MIEL]]></category>

		<guid isPermaLink="false">http://www.argenisleon.com/?p=30</guid>
		<description><![CDATA[Working in a Windows Mobile Project a realized that it was so hard to debug, because of the lack of a decent debugger. So I wrote MIEL a 7.3k script that let you insert logging in your code. You have 5 levels of logging log, debug, info, warn and error and you can view the [...]]]></description>
			<content:encoded><![CDATA[<p>Working in a Windows Mobile Project a realized that it was so hard to debug, because of the lack of a decent debugger. So I wrote MIEL a 7.3k script that let you insert logging in your code. You have 5 levels of logging log, debug, info, warn and error and you can view the source code of the page.</p>
<p>Here the example code:</p>
<pre class="brush: jscript;">&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Miel Test&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;/body&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;miel.js&quot;&gt;
    &lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
        // Init Logger
        miel.logger();

	// Test logging
        miel.log(&quot;log&quot;);
        miel.debug(&quot;debug&quot;);
        miel.info(&quot;info&quot;);
        miel.warn(&quot;warn&quot;);
        miel.error(&quot;error&quot;);

	// View Source Code of the actual page
        miel.viewSourceCode();
    &lt;/script&gt;
&lt;/html&gt;</pre>
<p>You can find it in the svn here <a href="http://code.google.com/p/yvmobile/source/browse/#svn/trunk/miel">http://code.google.com/p/yvmobile/source/browse/#svn/trunk/miel</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.argenisleon.com/?feed=rss2&amp;p=30</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>As3 banner rotator and xml</title>
		<link>http://www.argenisleon.com/?p=22</link>
		<comments>http://www.argenisleon.com/?p=22#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:21:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.argenisleon.com/?p=22</guid>
		<description><![CDATA[Once again looking in google, and I just did not find any banner rotator in as3 for free. So, here is the as3 code for a banner rotator using xml.
It use QueueLoader , Hydrotween and Falcon. You can use images and swf. Furthermore, you can configure some parameters like the image o swf url and [...]]]></description>
			<content:encoded><![CDATA[<p>Once again looking in google, and I just did not find any banner rotator in as3 for free. So, here is the as3 code for a banner rotator using xml.</p>
<p>It use <a href="http://blog.hydrotik.com/">QueueLoader </a>, <a href="http://blog.hydrotik.com/">Hydrotween </a>and <a href="http://falconflash.wordpress.com/">Falcon</a>. You can use images and swf. Furthermore, you can configure some parameters like the image o swf url and the buttons proporties like x,y and separation.</p>
<p>As all the source code here you can use it in comercial and non-commercial projects.</p>
<p>Art in the example by <a href="http://www.leonjuan.com">www.leonjuan.com</a></p>
<p><a href='http://www.argenisleon.com/wp-content/uploads/2009/02/kaai-as3-rotator.rar'>DOWNLOAD as3 banner rotator</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.argenisleon.com/?feed=rss2&amp;p=22</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APACKER &#8211; automatizing javascript and css compression</title>
		<link>http://www.argenisleon.com/?p=11</link>
		<comments>http://www.argenisleon.com/?p=11#comments</comments>
		<pubDate>Sat, 25 Oct 2008 16:32:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[compression]]></category>

		<guid isPermaLink="false">http://argenisleon.com/?p=11</guid>
		<description><![CDATA[This PHP script let you automatize the .js and .css compression using PACKER Javascript for PHP. You can put all the files that you want to compress in a manifest.txt and then run the script every time you modify the original script.
This script no compress files on the fly. This is  the important thing [...]]]></description>
			<content:encoded><![CDATA[<p>This PHP script let you automatize the .js and .css compression using PACKER Javascript for PHP. You can put all the files that you want to compress in a manifest.txt and then run the script every time you modify the original script.</p>
<p>This script no compress files on the fly. This is  the important thing here, not to overload the server making file compression. So its is your work to compress the files every time you modify the original ones.</p>
<p>First, download PACKER Javascript for PHP from http://joliclic.free.fr/php/javascript-packer/en/ and APACKER, decompress the files in the same directory.</p>
<p>Second, for example you have myproject-scr.js and myproject-scr.css files. By convention in the script you must name the files using the style xxxxxxxx-scr.js and/or xxxxxxxx-src.css. Then put this name files in a manifest.txt file one name by line. </p>
<p>Finally, upload all the files to your server and point your browser to http://myserver/apacker.php. APACKER automatically output the files myproject.js and myproject.css in the same directory that the original files.</p>
<p><a href='http://argenisleon.com/wp-content/uploads/2008/10/apacker.zip'>Download APACKER</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.argenisleon.com/?feed=rss2&amp;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShortLoader. Load images or SWF&#8217;s in 1 code line</title>
		<link>http://www.argenisleon.com/?p=5</link>
		<comments>http://www.argenisleon.com/?p=5#comments</comments>
		<pubDate>Mon, 29 Sep 2008 03:20:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[loader]]></category>
		<category><![CDATA[shortloader]]></category>

		<guid isPermaLink="false">http://argenisleon.com/?p=5</guid>
		<description><![CDATA[Sometime ago i was looking for a as3 class that let load and external asset and put a load bar while it was loading. But i did not found any utility so I write ShortLoader.
ShortLoader let you load an external asset a SWF or Image in one code line. Also you can customize easily the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometime ago i was looking for a as3 class that let load and external asset and put a load bar while it was loading. But i did not found any utility so I write ShortLoader.</p>
<p>ShortLoader let you load an external asset a SWF or Image in one code line. Also you can customize easily the loading animation modifying a default library object.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.argenisleon.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
