<?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>blog.vamapaull.com</title>
	<atom:link href="http://blog.vamapaull.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vamapaull.com</link>
	<description>It&#039;s all about Flash and Flash related technologies</description>
	<lastBuildDate>Thu, 17 May 2012 12:46:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Using lineStyle to draw stroke without affecting the size of the holder container</title>
		<link>http://blog.vamapaull.com/using-linestyle-to-draw-stroke-without-affecting-the-size-of-the-holder-container/</link>
		<comments>http://blog.vamapaull.com/using-linestyle-to-draw-stroke-without-affecting-the-size-of-the-holder-container/#comments</comments>
		<pubDate>Thu, 17 May 2012 12:39:32 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[beginFill]]></category>
		<category><![CDATA[CapsStyle]]></category>
		<category><![CDATA[Draw]]></category>
		<category><![CDATA[drawRect]]></category>
		<category><![CDATA[endFill]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[JointStyle]]></category>
		<category><![CDATA[LineScaleMode]]></category>
		<category><![CDATA[lineStyle]]></category>
		<category><![CDATA[SWF]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=789</guid>
		<description><![CDATA[Have you ever tried to use the graphics class to draw a rectangle with a lineStyle (stroke) and then set bigger width and height values for the container that holds the graphic? If so, you probably noticed that there is a size difference between a rectangle with lineStyle and a rectangle without lineStyle. If you [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever tried to use the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html" title="Graphics Class" target="_blank">graphics class</a> to draw a rectangle with a <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html#lineStyle%28%29" title="lineStyle" target="_blank">lineStyle</a> (stroke) and then set bigger width and height values for the container that holds the graphic? If so, you probably noticed that there is a size difference between a rectangle with lineStyle and a rectangle without lineStyle. </p>
<p>If you trace the width and height values of the container, everything seems to be fine. Only if you run and look at the SWF you&#8217;ll notice a visual difference between those two (Image below)<br />
<img src="http://blog.vamapaull.com/wp-content/uploads/2012/05/lineStyle-problem.jpg" alt="" title="lineStyle-problem" width="272" height="272" class="alignnone size-full wp-image-841" /></p>
<p>ActionScript Code:</p>
<pre leng="ActionScript">
import flash.display.Sprite;

var rectangle:Sprite = new Sprite();
var rectangleLineStyle:Sprite = new Sprite();

with(rectangle)
{
	graphics.beginFill(0x333333);
	graphics.drawRect(0,0,50,50);
	graphics.endFill();
}

with(rectangleLineStyle)
{
	graphics.beginFill(0xd5e7ed);
	graphics.lineStyle(3, 0xff0000, 1, false, LineScaleMode.NONE);
	graphics.drawRect(0,0,50,50);
	graphics.endFill();
}

addChild(rectangle);
addChild(rectangleLineStyle);

rectangle.width = rectangle.height = 200;
rectangleLineStyle.width = rectangleLineStyle.height = 200;
</pre>
<p>Both rectangles have the same width and height. Notice how the one with lineStyle is much smaller?</p>
<p>I&#8217;m not sure what the problem is, but there seems to be a fix (kind of).</p>
<p>Through some trial and error I found that if you use <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/CapsStyle.html" target="_blank">CapsStyle.ROUND</a> and <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/JointStyle.html" target="_blank">JointStyle.MITER</a> like so, the problem disappears:</p>
<pre lang=ActionScript">
graphics.lineStyle(3, 0xff0000, 1, false,  LineScaleMode.NONE,
					   CapsStyle.ROUND,
					   JointStyle.MITER);
</pre>
<p>However, it&#8217;s not perfect. If you have a much smaller rectangle, let&#8217;s say you create:<br />
drawRect(0,0,<strong>10</strong>,<strong>10</strong>);<br />
Instead of:<br />
drawRect(0,0,<strong>50</strong>,<strong>50</strong>);<br />
Then you will still notice a bit of a difference.</p>
<p>If you want to make a rectangle with lineStyle that can be scaled and you want to get rid of this problem completely, an easy fix wold be make the rectangle bigger and scale it down instead of making it smaller and scale it up. In this scenario, the visual rectangle seems to maintain the real width and height values.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/using-linestyle-to-draw-stroke-without-affecting-the-size-of-the-holder-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using ExternalInterface and JS to make an Expandable Flash Banner</title>
		<link>http://blog.vamapaull.com/using-externalinterface-and-js-to-make-an-expandable-flash-banner/</link>
		<comments>http://blog.vamapaull.com/using-externalinterface-and-js-to-make-an-expandable-flash-banner/#comments</comments>
		<pubDate>Sat, 05 May 2012 17:08:15 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[ExternalInterface]]></category>
		<category><![CDATA[ExternalInterface.call]]></category>
		<category><![CDATA[Flash Banner]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=766</guid>
		<description><![CDATA[Expandable Banner &#8211; How to make it and embed it into your HTML page without affecting the rest of the page. Today I helped a friend who needed an expandable banner embedded into a news website. At first, I had the instinct to searching on Google and giving him an URL or something where he [...]]]></description>
			<content:encoded><![CDATA[<p>Expandable Banner &#8211; How to make it and embed it into your HTML page without affecting the rest of the page.</p>
<p><script type="text/javascript">
	function expand() {
		document.getElementById("expandableBanner").style.clip="rect(0px 640px 240px 0px)";
	}
	function retract() {
		document.getElementById("expandableBanner").style.clip="rect(0px 640px 120px 0px)";
	}
</script></p>
<div style="position:relative; width:600px; height:120px; z-index:1000; background-color:none;">
<div id="expandableBanner" style="position: absolute; clip: rect(0px, 640px, 120px, 0px);">
	<object id="banner" width="640" height="240" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"><param name="movie" value="http://blog.vamapaull.com/wp-content/uploads/2012/05/ExpandableBanner.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed width="640" height="240" src="http://blog.vamapaull.com/wp-content/uploads/2012/05/ExpandableBanner.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"><br />
	</object>
</div>
</div>
<p>Today I helped a friend who needed an expandable banner embedded into a news website. At first, I had the instinct to searching on Google and giving him an URL or something where he can read more about this. To my surprise, none of the info I got through search engines was relevant or complete for this specific subject.</p>
<p>This led me to create an example and now I want to share that example with those searching for how to make an expandable Flash banner.</p>
<p><span id="more-766"></span><br />
HTML and JS Code:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;body&gt;
	&lt;div style=&quot;position:relative; width:600px; height:120px; z-index:1000; background-color:none;&quot;&gt;
		&lt;div id=&quot;expandableBanner&quot; style=&quot;position: absolute; clip: rect(0px, 640px, 120px, 0px);&quot;&gt;
			&lt;object id=&quot;banner&quot; width=&quot;640&quot; height=&quot;240&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&quot;&gt;
				&lt;param name=&quot;movie&quot; value=&quot;ExpandableBanner.swf&quot;&gt;
				&lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
				&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;
				&lt;embed width=&quot;640&quot; height=&quot;240&quot; src=&quot;ExpandableBanner.swf&quot; quality=&quot;high&quot; wmode=&quot;transparent&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot;&gt;
			&lt;/object&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/body&gt;
&nbsp;
&lt;script type=&quot;text/javascript&quot;&gt;
	function expand() {
		document.getElementById(&quot;expandableBanner&quot;).style.clip=&quot;rect(0px 640px 240px 0px)&quot;;
	}
	function retract() {
		document.getElementById(&quot;expandableBanner&quot;).style.clip=&quot;rect(0px 640px 120px 0px)&quot;;
	}
&lt;/script&gt;</pre></div></div>

<p>ActionScript code:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span>
<span style="color: #000000;">&#123;</span>	
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">Sprite</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">StageAlign</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">StageScaleMode</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.external</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">ExternalInterface</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> caurina<span style="color: #000066; font-weight: bold;">.</span>transitions<span style="color: #000066; font-weight: bold;">.</span>Tweener<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> ExpandableBanner <span style="color: #0033ff; font-weight: bold;">extends</span> <span style="color: #004993;">Sprite</span>
	<span style="color: #000000;">&#123;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> ExpandableBanner<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">align</span> = <span style="color: #004993;">StageAlign</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">TOP_LEFT</span><span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">scaleMode</span> = <span style="color: #004993;">StageScaleMode</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">NO_SCALE</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #009900; font-style: italic;">//make the close button invisible</span>
			closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #009900; font-style: italic;">//add the hand cursor on the content MovieClip</span>
			theContent<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">buttonMode</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #009900; font-style: italic;">//add event listener on the close button</span>
			closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> retractBanner<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
			<span style="color: #009900; font-style: italic;">//add event listener on the content MovieClip</span>
			theContent<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">MouseEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> expandBanner<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> expandBanner<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #009900; font-style: italic;">//check if the close button is not visible and if ExternalInterface is available</span>
			<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span> == <span style="color: #0033ff; font-weight: bold;">false</span> <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> <span style="color: #004993;">ExternalInterface</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">available</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				<span style="color: #009900; font-style: italic;">//call the &quot;expand&quot; JS function</span>
				<span style="color: #004993;">ExternalInterface</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;expand&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">//expand the height of the mask</span>
				Tweener<span style="color: #000066; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span>theMask<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span><span style="color: #004993;">height</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">240</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">//set visibility to true for the close button</span>
				closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> retractBanner<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">MouseEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #009900; font-style: italic;">//check if the close button is visible and if ExternalInterface is available</span>
			<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span> == <span style="color: #0033ff; font-weight: bold;">true</span> <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> <span style="color: #004993;">ExternalInterface</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">available</span><span style="color: #000000;">&#41;</span>
			<span style="color: #000000;">&#123;</span>
				<span style="color: #009900; font-style: italic;">//change the height of the mask back to 120px, when the tween is complete, call the function &quot;callRetract&quot;</span>
				Tweener<span style="color: #000066; font-weight: bold;">.</span>addTween<span style="color: #000000;">&#40;</span>theMask<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000;">&#123;</span><span style="color: #004993;">height</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">120</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">time</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000066; font-weight: bold;">,</span> onComplete<span style="color: #000066; font-weight: bold;">:</span>callRetract<span style="color: #000000;">&#125;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
				<span style="color: #009900; font-style: italic;">//make the close button invisible</span>
				closeButton<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">visible</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #000000;">&#125;</span>
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> callRetract<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #009900; font-style: italic;">//call the &quot;retract&quot; JS function</span>
			<span style="color: #004993;">ExternalInterface</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">call</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;retract&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/using-externalinterface-and-js-to-make-an-expandable-flash-banner/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Greetings Card Flash Application</title>
		<link>http://blog.vamapaull.com/greetings-card-flash-application/</link>
		<comments>http://blog.vamapaull.com/greetings-card-flash-application/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 11:01:38 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Greetings Card]]></category>
		<category><![CDATA[Greetings Island]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Singleton pattern]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=734</guid>
		<description><![CDATA[I have worked on this application for a few months and now I see it’s finally implemented into greetingsisland.com. The project was for two Flash applications, Cards and Invitations, both very similar with very few different features. It lets you make your own greeting card and invitation design. It’s great looking and easy to use, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.greetingsisland.com/prints/PrintPosting.aspx?card=Happy-birthday-confetti&#038;id=1305" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2012/04/greetings-card-flash-application-tool.jpg" alt="" title="Greetings Card Flash Application" width="606" height="680" class="alignnone size-full wp-image-767" /></a></p>
<p>I have worked on this application for a few months and now I see it’s finally implemented into <a href="http://www.greetingsisland.com" title="Greetings Island" target="_blank">greetingsisland.com</a>.</p>
<p>The project was for two Flash applications, <a href="http://www.greetingsisland.com/Printables/Featured" title="Greetings Island" target="_blank">Cards</a> and <a href="http://www.greetingsisland.com/Invitations/Featured" title="Greetings Island" target="_blank">Invitations</a>, both very similar with very few different features.</p>
<p>It lets you make your own greeting card and invitation design. It’s great looking and easy to use, especially for kids. After you’ve made the perfect greeting, you can either print it on your home printer or save it as a PDF file.</p>
<p>The development itself was demanding and very rewarding, as I got to use techniques like <a href="http://en.wikipedia.org/wiki/Singleton_pattern" title="Singleton pattern" target="_blank">singleton pattern</a>, I’ve used the Facebook API to retrieve photos from Facebook albums and I’ve learned some new coding styles from my friend Biro Barna.</p>
<p>Go on, check it out and let me know if you like it <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/greetings-card-flash-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AlivePDF download and save to server</title>
		<link>http://blog.vamapaull.com/alivepdf-download-and-save-to-server/</link>
		<comments>http://blog.vamapaull.com/alivepdf-download-and-save-to-server/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 11:27:26 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[actionscript 3. as3]]></category>
		<category><![CDATA[Alive PDF]]></category>
		<category><![CDATA[AlivePDF]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[HTTP_RAW_POST_DATA]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[save]]></category>
		<category><![CDATA[save to server]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=753</guid>
		<description><![CDATA[Today I found myself needing to implement AlivePDF into a project that needs to generate a PDF, save it on the server and download it to the user&#8217;s computer. Since I didn&#8217;t find any information about how to do this (and I found some other people trying to find out how it&#8217;s done) I thought [...]]]></description>
			<content:encoded><![CDATA[<p>Today I found myself needing to implement AlivePDF into a project that needs to generate a PDF, save it on the server and download it to the user&#8217;s computer.</p>
<p>Since I didn&#8217;t find any information about how to do this (and I found some other people trying to find out how it&#8217;s done) I thought I should give it a try. I posted the final result below if someone else needs to know how to both save the PDF file on the server and download it to the user&#8217;s computer.</p>
<p>ActionScript 3 AlivePDF code:</p>

<div class="wp_syntax"><div class="code"><pre class="as3" style="font-family:monospace;">_pdf.save(Method.REMOTE, &quot;save.php&quot;, Download.ATTACHMENT, &quot;MyFile.pdf&quot;);</pre></div></div>

<p>PHP code that will save the file on the server (inside a specified folder) and save it to the user&#8217;s computer too:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;HTTP_RAW_POST_DATA&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$pdf</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$GLOBALS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;HTTP_RAW_POST_DATA&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;name&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$save_to</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;pdf/&quot;</span><span style="color: #339933;">.</span> <span style="color: #000088;">$name</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">file_put_contents</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$save_to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$pdf</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #666666; font-style: italic;">// add headers for download dialog-box</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Type: application/pdf'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Length: '</span><span style="color: #339933;">.</span><span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pdf</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-disposition:'</span><span style="color: #339933;">.</span><span style="color: #000088;">$method</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'; filename=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$pdf</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Encoded PDF information not received.&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/alivepdf-download-and-save-to-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert values within a range to values within another range</title>
		<link>http://blog.vamapaull.com/convert-values-within-a-range-to-values-within-another-range/</link>
		<comments>http://blog.vamapaull.com/convert-values-within-a-range-to-values-within-another-range/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 12:09:37 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[convertor]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[utility]]></category>
		<category><![CDATA[value]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=729</guid>
		<description><![CDATA[Today I&#8217;m sharing with you a little utility that I find myself using a lot lately. This utility is a value convertor that you can use in those times when you need to make a volume slider or something similar where you&#8217;ll need to change a value and a value range. package com.vamapaull.utils &#123; public [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m sharing with you a little utility that I find myself using a lot lately. This utility is a value convertor that you can use in those times when you need to make a volume slider or something similar where you&#8217;ll need to change a value and a value range.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> com<span style="color: #000066; font-weight: bold;">.</span>vamapaull<span style="color: #000066; font-weight: bold;">.</span>utils
<span style="color: #000000;">&#123;</span>	
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> ValueConvertor
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> convertRange<span style="color: #000000;">&#40;</span>originalStart<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000066; font-weight: bold;">,</span> 
							originalEnd<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000066; font-weight: bold;">,</span> 
							newStart<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000066; font-weight: bold;">,</span> 
							newEnd<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000066; font-weight: bold;">,</span> 
							<span style="color: #004993;">value</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> originalRange<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = originalEnd <span style="color: #000066; font-weight: bold;">-</span> originalStart<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> newRange<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = newEnd <span style="color: #000066; font-weight: bold;">-</span> newStart<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> ratio<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = newRange <span style="color: #000066; font-weight: bold;">/</span> originalRange<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> newValue<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #004993;">value</span> <span style="color: #000066; font-weight: bold;">*</span> ratio<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #6699cc; font-weight: bold;">var</span> finalValue<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = newValue <span style="color: #000066; font-weight: bold;">+</span> newStart<span style="color: #000066; font-weight: bold;">;</span>
			<span style="color: #0033ff; font-weight: bold;">return</span> finalValue<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/convert-values-within-a-range-to-values-within-another-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control a Flash Game with your iPhone</title>
		<link>http://blog.vamapaull.com/control-a-flash-game-with-your-iphone/</link>
		<comments>http://blog.vamapaull.com/control-a-flash-game-with-your-iphone/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 13:33:45 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[arcade]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash platform]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mammoot]]></category>
		<category><![CDATA[oldschool]]></category>
		<category><![CDATA[Science & Technology · Tagged: adobe flash]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ufo]]></category>
		<category><![CDATA[websockets]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=722</guid>
		<description><![CDATA[Some programmers from Germany developed a great Flash game that uses your iPhone/iPod Touch to control the game actions. The concept is very interesting and I could see this being applied on lots of old-school arcade games that are ported to Flash. After learning about WebSockets we were eager to build a website around this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ufomammoot.de/" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2012/02/mammoot-control-ufomammoot.de_-600x354.jpg" alt="" title="mammoot-control-ufomammoot.de" width="600" height="354" class="alignnone size-medium wp-image-730" /></a></p>
<p>Some programmers from Germany developed a great Flash game that uses your iPhone/iPod Touch to control the game actions.</p>
<p>The concept is very interesting and I could see this being applied on lots of old-school arcade games that are ported to Flash.</p>
<blockquote><p>
After learning about WebSockets we were eager to build a website around this technology. As we are a bunch of oldschool nerds it was obvious to transform the iPhone into a gamepad controlling a Flash Website.</p></blockquote>
<p>Source: <a href="http://www.weekendcontent.com/control-flash-game-with-your-iphone/" title="Weekend Content" target="_blank">WeekendContent.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/control-a-flash-game-with-your-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timecode Utility</title>
		<link>http://blog.vamapaull.com/timecode-utility/</link>
		<comments>http://blog.vamapaull.com/timecode-utility/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 13:44:00 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[minutes]]></category>
		<category><![CDATA[seconds]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timecode]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=696</guid>
		<description><![CDATA[Today I&#8217;m sharing simple utility that I use from time to time when I need to convert time (see what I did there? ) It&#8217;s very useful if you build a FLV player for example, and want to convert the time into minutes:seconds Example of how to apply it to your project: import com.vamapaull.utils.TimeUtil; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;m sharing simple utility that I use from time to time when I need to convert time (see what I did there? <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  )<br />
It&#8217;s very useful if you build a FLV player for example, and want to convert the time into minutes:seconds</p>
<p>Example of how to apply it to your project:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>vamapaull<span style="color: #000066; font-weight: bold;">.</span>utils<span style="color: #000066; font-weight: bold;">.</span>TimeUtil<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #004993;">time</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = TimeUtil<span style="color: #000066; font-weight: bold;">.</span>getTimecode<span style="color: #000000;">&#40;</span>timeValue<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></pre></div></div>

<p><br/><br />
Results:<br />
<img src="http://blog.vamapaull.com/wp-content/uploads/2011/12/timecode-time-actionscript-utility.jpg" alt="" title="timecode-time-actionscript-utility" width="590" height="50" class="alignnone size-full wp-image-716" /></p>
<p><br/><br />
The ActionScript class:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> com<span style="color: #000066; font-weight: bold;">.</span>vamapaull<span style="color: #000066; font-weight: bold;">.</span>utils
<span style="color: #000000;">&#123;</span>
    <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> TimeUtil
    <span style="color: #000000;">&#123;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> getTimecode<span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span>
        <span style="color: #000000;">&#123;</span>
            <span style="color: #6699cc; font-weight: bold;">var</span> t<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span>    = <span style="color: #004993;">Math</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">round</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">value</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span>
                <span style="color: #004993;">min</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span>  = <span style="color: #004993;">Math</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">floor</span><span style="color: #000000;">&#40;</span>t<span style="color: #000066; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">60</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span>
                sec<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span>  = t<span style="color: #000066; font-weight: bold;">%</span>60<span style="color: #000066; font-weight: bold;">,</span>
                tc<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">String</span>   = <span style="color: #990000;">&quot;&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">min</span> <span style="color: #000066; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight:bold;">10</span><span style="color: #000000;">&#41;</span> 
                tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">min</span> <span style="color: #000066; font-weight: bold;">&gt;</span>= <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span>
            <span style="color: #000000;">&#123;</span>
                <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">isNaN</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">min</span><span style="color: #000000;">&#41;</span> == <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span> tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
                <span style="color: #0033ff; font-weight: bold;">else</span> tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #004993;">min</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0033ff; font-weight: bold;">else</span> 
                tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;:&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>sec <span style="color: #000066; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight:bold;">10</span><span style="color: #000000;">&#41;</span> 
            <span style="color: #000000;">&#123;</span>
                tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
                <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">isNaN</span><span style="color: #000000;">&#40;</span>sec<span style="color: #000000;">&#41;</span> == <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span> tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
                <span style="color: #0033ff; font-weight: bold;">else</span> tc <span style="color: #000066; font-weight: bold;">+</span>= sec<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #000000;">&#125;</span>
            <span style="color: #0033ff; font-weight: bold;">else</span> 
            <span style="color: #000000;">&#123;</span>
                <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">isNaN</span><span style="color: #000000;">&#40;</span>sec<span style="color: #000000;">&#41;</span> == <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span> tc <span style="color: #000066; font-weight: bold;">+</span>= <span style="color: #990000;">&quot;0&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
                <span style="color: #0033ff; font-weight: bold;">else</span> tc <span style="color: #000066; font-weight: bold;">+</span>= sec<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">toString</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #000000;">&#125;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">return</span> tc<span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/timecode-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image and Video Slideshow</title>
		<link>http://blog.vamapaull.com/image-and-video-slideshow/</link>
		<comments>http://blog.vamapaull.com/image-and-video-slideshow/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 17:39:27 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[autoplay]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[rotating]]></category>
		<category><![CDATA[rotator]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[slide]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vimeo]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=693</guid>
		<description><![CDATA[Just uploaded a new project to ActiveDen. This is a slideshow that will let you display images and play videos. You can play video from YouTube, Vimeo or your FLV, F4V, MP4 files. It can load JPG, SWF and PNG files. If you want to buy it, please check the image below]]></description>
			<content:encoded><![CDATA[<p>Just uploaded a new project to <a href="http://activeden.net?ref=vamapaull" target="_blank">ActiveDen</a>. This is a slideshow that will let you display images and play videos.</p>
<p>You can play video from YouTube, Vimeo or your FLV, F4V, MP4 files.<br />
It can load JPG, SWF and PNG files.</p>
<p>If you want to buy it, please check the image below <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://activeden.net/item/image-and-video-slideshow/1052232?ref=vamapaull" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2011/12/Image-and-Video-Slideshow.jpg" alt="" title="Image and Video Slideshow" width="590" height="300" class="alignnone size-full wp-image-694" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/image-and-video-slideshow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Device Shake &#8211; Accelerometer</title>
		<link>http://blog.vamapaull.com/device-shake-accelerometer/</link>
		<comments>http://blog.vamapaull.com/device-shake-accelerometer/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 22:20:21 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[shake]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=671</guid>
		<description><![CDATA[Here you have an easy way to detect shakes on mobile devices with equipped accelerometer: var lastShake:Number = 0; var shakeWait:Number = 600; &#160; var acc:Accelerometer = new Accelerometer&#40;&#41;; acc.addEventListener&#40;AccelerometerEvent.UPDATE, onAccUpdate&#41;; &#160; function onAccUpdate&#40;e:AccelerometerEvent&#41;:void &#123; if&#40;getTimer&#40;&#41; - lastShake &#62; shakeWait &#38;&#38; &#40;e.accelerationX &#62;= 1.5 &#124;&#124; e.accelerationY &#62;= 1.5 &#124;&#124; e.accelerationZ &#62;= 1.5&#41;&#41; &#123; shakeIt&#40;&#41;; lastShake [...]]]></description>
			<content:encoded><![CDATA[<p>Here you have an easy way to detect shakes on mobile devices with equipped accelerometer:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> lastShake<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> shakeWait<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = <span style="color: #000000; font-weight:bold;">600</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> acc<span style="color: #000066; font-weight: bold;">:</span>Accelerometer = <span style="color: #0033ff; font-weight: bold;">new</span> Accelerometer<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
acc<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>AccelerometerEvent<span style="color: #000066; font-weight: bold;">.</span>UPDATE<span style="color: #000066; font-weight: bold;">,</span> onAccUpdate<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> onAccUpdate<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>AccelerometerEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">getTimer</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">-</span> lastShake <span style="color: #000066; font-weight: bold;">&gt;</span> shakeWait <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> 
			<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span>accelerationX <span style="color: #000066; font-weight: bold;">&gt;</span>= <span style="color: #000000; font-weight:bold;">1.5</span> 
			<span style="color: #000066; font-weight: bold;">||</span> e<span style="color: #000066; font-weight: bold;">.</span>accelerationY <span style="color: #000066; font-weight: bold;">&gt;</span>= <span style="color: #000000; font-weight:bold;">1.5</span> 
			<span style="color: #000066; font-weight: bold;">||</span> e<span style="color: #000066; font-weight: bold;">.</span>accelerationZ <span style="color: #000066; font-weight: bold;">&gt;</span>= <span style="color: #000000; font-weight:bold;">1.5</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
	<span style="color: #000000;">&#123;</span>
		shakeIt<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
		lastShake = <span style="color: #004993;">getTimer</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> shakeIt<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;device has been shaked&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/device-shake-accelerometer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>For those who say Flash is dying</title>
		<link>http://blog.vamapaull.com/for-those-who-say-flash-is-dying/</link>
		<comments>http://blog.vamapaull.com/for-those-who-say-flash-is-dying/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 22:44:15 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[death]]></category>
		<category><![CDATA[dying]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=669</guid>
		<description><![CDATA[I started with Flash 5 and many people said Flash will never be good enough and after that I&#8217;ve heard many people saying Flash is dying. A very small part of the dying statement is true. I believe the market is saturated with Flash portfolios / photo galleries / video players, but Flash is not [...]]]></description>
			<content:encoded><![CDATA[<p>I started with Flash 5 and many people said Flash will never be good enough and after that I&#8217;ve heard many people saying Flash is dying. </p>
<p>A very small part of the dying statement is true.<br />
I believe the market is saturated with Flash portfolios / photo galleries / video players, but Flash is not only that. </p>
<p>I hear many developers who are doing just that and who are complaining about it. </p>
<p>My response is: Try something new! Stop doing the same video/photo galleries every single time and start experiment with different things. The Flash environment has a lot to offer, you don&#8217;t need to limit yourself only to galleries and video players.</p>
<p>A lot of those who complain are the stock Flash developers (the ones who sell stuff on <a href="http://tinyurl.com/2vkx68w">ActiveDen</a> and similar marketplaces).<br />
Those people need to understand that any market gets saturated and not all the Flash developers are selling stock files and have a living doing so.</p>
<p>Flash may not be the perfect environment and AcionScript may not be the perfect programming language but I believe a lot of good things can come from Flash if you know how to take advantage of it.</p>
<p>And no, the iPad dose not bring the death of Flash. Not everyone sits on the can to surf the web. And Flash is not limited only to the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/for-those-who-say-flash-is-dying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paul Calver&#8217;s portfolio website</title>
		<link>http://blog.vamapaull.com/paul-calvers-portfolio-website/</link>
		<comments>http://blog.vamapaull.com/paul-calvers-portfolio-website/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 12:51:57 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[calver]]></category>
		<category><![CDATA[paul]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[slideshowpro]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=664</guid>
		<description><![CDATA[A few weeks ago I started working on some updates for a photography website. The project started a bit slow, but after I managed to get every information from the client I managed to understand what&#8217;s needed to be done in order to complete it. This project uses SlideShow PRO (at the request of my [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago I started working on some updates for a photography website. The project started a bit slow, but after I managed to get every information from the client I managed to understand what&#8217;s needed to be done in order to complete it. This project uses <a title="SlideShow PRO" href="http://slideshowpro.net/" target="_blank">SlideShow PRO</a> (at the request of my client) and <a title="SlideShow PRO Director " href="http://slideshowpro.net/products/slideshowpro_director/" target="_blank">SlideShow PRO Director</a> for <a title="CMS" href="http://en.wikipedia.org/wiki/Content_management_system" target="_blank">CMS</a>. I like the final result and that&#8217;s why I wrote about this website. Enjoy <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<a title="Paul Calver Portfolio" href="http://www.calverphoto.com" target="_blank"><img class="alignnone size-medium wp-image-665" title="paul-calver" src="http://blog.vamapaull.com/wp-content/uploads/2011/07/paul-calver-600x417.jpg" alt="" width="600" height="417" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/paul-calvers-portfolio-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What I&#8217;ve been up to lately</title>
		<link>http://blog.vamapaull.com/what-ive-been-up-to-lately/</link>
		<comments>http://blog.vamapaull.com/what-ive-been-up-to-lately/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 19:19:30 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[barna]]></category>
		<category><![CDATA[biro]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[ringtone]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[up]]></category>
		<category><![CDATA[what]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=645</guid>
		<description><![CDATA[Lately I&#8217;ve been working on a lot of projects, one of them being this audio tool. This is my first Flex (aka. Flash Builder) project and it was delivered with big help from my partner Biro Barna. The tool is made to let people create their own ringtones. You can simply upload any MP3 file [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.free-ringtones.cc/make-ringtone/" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2011/03/600x380-150x150.jpg" alt="" width="150" height="150" class="alignleft size-thumbnail wp-image-648" /></a></p>
<p>Lately I&#8217;ve been working on a lot of projects, one of them being this audio tool. This is my first Flex (aka. Flash Builder) project and it was delivered with big help from my partner Biro Barna.</p>
<p>The tool is made to let people create their own ringtones. You can simply upload any MP3 file and cut it up to 30 seconds, add fade in / fade out if you want and then give it a name and save it. Then a new page will let you download the ringtone in iPhone format or MP3 format.</p>
<p>I&#8217;m in the process of remaking my portfolio site. When it&#8217;s done I will post more of my projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/what-ive-been-up-to-lately/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darth Vader &#8220;no&#8221; button</title>
		<link>http://blog.vamapaull.com/darth-vader-no-button/</link>
		<comments>http://blog.vamapaull.com/darth-vader-no-button/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 11:50:57 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[3]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[darth vader]]></category>
		<category><![CDATA[episode III]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[no]]></category>
		<category><![CDATA[Revenge of the Sith]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[star wars]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=634</guid>
		<description><![CDATA[Last night I published my first application on the Android market. It&#8217;s just a cool button that plays the famous &#8220;noooo&#8221; scream made by Darth Vader in Star Wars: Episode III &#8211; Revenge of the Sith. Enjoy!]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.vamapaull.com/wp-content/uploads/2011/02/chart.png" alt="" title="chart" width="150" height="150" class="alignright size-full wp-image-639" /></a><br />
Last night I published my first application on the <a href="http://market.android.com" target="_blank">Android market</a>. It&#8217;s just a cool button that plays the famous &#8220;noooo&#8221; scream made by Darth Vader in Star Wars: Episode III &#8211; Revenge of the Sith. </p>
<p><a href="http://www.appbrain.com/app/darth-vader-no-button/air.DarthVader" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2011/02/screen.jpg" alt="" title="Darth Vader" width="288" height="480" /></a></p>
<p>Enjoy! <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/darth-vader-no-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First encounter with AIR for Android</title>
		<link>http://blog.vamapaull.com/first-encounter-with-air-for-android/</link>
		<comments>http://blog.vamapaull.com/first-encounter-with-air-for-android/#comments</comments>
		<pubDate>Tue, 01 Feb 2011 17:44:25 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[AS 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=594</guid>
		<description><![CDATA[Today I made some experiments with AIR for Android. The process was very smooth and I like how simple everything is, in just a few minutes I managed to compile an application and play with it on my Android device. Totally love the way that I can reuse the ActionScript 3 code and make beautiful [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.vamapaull.com/?p=594"><img src="http://blog.vamapaull.com/wp-content/uploads/2011/02/samsung-galaxy-s-android-phone-600px.jpg" alt="" title="samsung-galaxy-s-android-phone-600px" width="600" height="400" class="alignnone size-full wp-image-621" /></a></p>
<p>Today I made some experiments with AIR for Android. The process was very smooth and I like how simple everything is, in just a few minutes I managed to compile an application and play with it on my Android device. Totally love the way that I can reuse the ActionScript 3 code and make beautiful applications for Android!</p>
<p>Not so many good words about the <a href="http://developer.android.com/index.html" target="_blank">Android Market</a>. I started an account, then I was asked to pay a fee of $25 and then when my account was created I noticed that I can&#8217;t really make paid applications for the Android market since <a href="http://checkout.google.com" target="_blank">Google Checkout</a>  is not available in Romania. How messed up is that? You want people to develop applications for your marketplace, you request a fee and then they have no way to at least get some of that money back. It&#8217;s not that I can&#8217;t live without 25 bucks, but that really sucks, I feel like I&#8217;m giving them money so I can develop for their marketplace and help it grow a little more (so they can earn even more money). I love Flash related technologies and Android, but this doesn&#8217;t have any logic.</p>
<p>Anyway, I tried to implement <a href="http://activeden.net/item/youtube-playlist-reader/97090?ref=vamapaull" target="_blank">an older youtube player</a> into my AIR application so I can test it out and see how it works. The problem was that when I played a video and hit the hardware back button on my device, the video was still playing because the application minimized instead of closing (as I imagined it would). Then I started to search for a solution, and sure enough, I found it very fast on <a href="http://www.flashrealtime.com/tip-close-your-android-air-app-on-back-button/" target="_blank">Tom Krcha&#8217;s</a> blog. To close the button when you hit the back button you first need to register a handler:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Capabilities</span><span style="color: #000066; font-weight: bold;">.</span>cpuArchitecture==<span style="color: #990000;">&quot;ARM&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
	NativeApplication<span style="color: #000066; font-weight: bold;">.</span>nativeApplication<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">KeyboardEvent</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">KEY_DOWN</span><span style="color: #000066; font-weight: bold;">,</span> handleKeys<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>Then you need to make the function for that handler:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #339966; font-weight: bold;">function</span> handleKeys<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">KeyboardEvent</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">keyCode</span> == <span style="color: #004993;">Keyboard</span><span style="color: #000066; font-weight: bold;">.</span>BACK<span style="color: #000000;">&#41;</span>
	NativeApplication<span style="color: #000066; font-weight: bold;">.</span>nativeApplication<span style="color: #000066; font-weight: bold;">.</span>exit<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>That&#8217;s it. I will continue to work with AIR for Android and hopefully make some cool apps <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/first-encounter-with-air-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This is amazing! 3D Flash Game with P2P Multiplayer</title>
		<link>http://blog.vamapaull.com/this-is-amazing-3d-flash-game-with-p2p-multiplayer/</link>
		<comments>http://blog.vamapaull.com/this-is-amazing-3d-flash-game-with-p2p-multiplayer/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 16:04:46 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[amazing]]></category>
		<category><![CDATA[car]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[multiplayer]]></category>
		<category><![CDATA[p2p]]></category>
		<category><![CDATA[Player]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=545</guid>
		<description><![CDATA[I have to say, a Multiplayer 3D Game running in Flash Player is really exciting! The future of gaming will change from now on. Take a look and tell me what you think]]></description>
			<content:encoded><![CDATA[<p>I have to say, a Multiplayer 3D Game running in Flash Player is really exciting!<br />
The future of gaming will change from now on. Take a look and tell me what you think <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><object width="600" height="340"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=16175169&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=83414F&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=16175169&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=83414F&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="600" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/this-is-amazing-3d-flash-game-with-p2p-multiplayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting videos from MAX 2010</title>
		<link>http://blog.vamapaull.com/interesting-videos-from-max-2010/</link>
		<comments>http://blog.vamapaull.com/interesting-videos-from-max-2010/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 16:56:23 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[General Flash Stuff]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Video Tapestries]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=533</guid>
		<description><![CDATA[I have found some very interesting videos from MAX 2010 and I want to share them with you, I believe you&#8217;ll love the new stuff as I do! Video Tapestries: Export fla file to html file: Flash CPU Perf remote profiling: Source]]></description>
			<content:encoded><![CDATA[<p>I have found some very interesting videos from MAX 2010 and I want to share them with you, I believe you&#8217;ll love the new stuff as I do! <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Video Tapestries:</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/IRq4RBMBC_s&amp;hl=en_US&amp;feature=player_embedded&amp;version=3" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="390" src="http://www.youtube.com/v/IRq4RBMBC_s&amp;hl=en_US&amp;feature=player_embedded&amp;version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<span id="more-533"></span></p>
<p><strong>Export fla file to html file:</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="390" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/ryZP00_KhYE&amp;hl=en_US&amp;feature=player_embedded&amp;version=3" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="600" height="390" src="http://www.youtube.com/v/ryZP00_KhYE&amp;hl=en_US&amp;feature=player_embedded&amp;version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><strong>Flash CPU Perf remote profiling:</strong><br />
<object width="600" height="390"><param name="movie" value="http://www.youtube.com/v/OPct3TIGQvE&#038;hl=en_US&#038;feature=player_embedded&#038;version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/OPct3TIGQvE&#038;hl=en_US&#038;feature=player_embedded&#038;version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="600" height="390"></embed></object></p>
<p><a href="http://blog.everythingflex.com/2010/10/27/2010-max-sneak-peak-10-videos/">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/interesting-videos-from-max-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photo camera wooden knob &#8211; made the news</title>
		<link>http://blog.vamapaull.com/photo-camera-wooden-knob-made-the-news/</link>
		<comments>http://blog.vamapaull.com/photo-camera-wooden-knob-made-the-news/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 12:31:41 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Every Day Life]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[craft]]></category>
		<category><![CDATA[crafting]]></category>
		<category><![CDATA[fujifilm]]></category>
		<category><![CDATA[knob]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[s5600]]></category>
		<category><![CDATA[wheel]]></category>
		<category><![CDATA[wooden]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=513</guid>
		<description><![CDATA[The other day, a photo that I made and published on my flickr profile got picked by gizmodo.com and, consequently, got a lot of attention. It&#8217;s a photo of a wooden control knob from my old Fujifilm S5600 FinePix digital photo camera. I&#8217;m really happy with the way the new knob looks and feels. To [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.vamapaull.com/?p=513" target="_self"><img class="alignnone size-full wp-image-514" title="IMG_0921" src="http://blog.vamapaull.com/wp-content/uploads/2010/10/IMG_0921.jpg" alt="" width="580" height="387" /></a></p>
<p>The other day, <a href="http://www.flickr.com/photos/vamapaull/5024383806/" target="_blank">a photo that I made</a> and published on <a href="http://www.flickr.com/photos/vamapaull/" target="_blank">my flickr profile</a> got picked by <a href="http://gizmodo.com/5654033/a-camera-with-a-wooden-knob" target="_blank">gizmodo.com</a> and, consequently, got a lot of attention. It&#8217;s a photo of a wooden control knob from my old Fujifilm S5600 FinePix digital photo camera.</p>
<p><strong>I&#8217;m really happy</strong> with the way the new knob looks and feels.</p>
<p>To all the gizmodo readers I want to say that my friend is a good friend and I appreciate the time end effort he put into this little wooden knob.</p>
<p><span id="more-513"></span><br />
And for all my blog followers, here is an exclusive image of the same wooden control knob viewed with the entire camera body:<br />
<img class="alignnone size-full wp-image-516" title="IMG_0916" src="http://blog.vamapaull.com/wp-content/uploads/2010/10/IMG_0916.jpg" alt="" width="580" height="387" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/photo-camera-wooden-knob-made-the-news/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Now you know what I did last summer. Bonus: what I&#8217;m working on</title>
		<link>http://blog.vamapaull.com/end-of-the-summer-update/</link>
		<comments>http://blog.vamapaull.com/end-of-the-summer-update/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 22:58:46 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[Every Day Life]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[anonimul]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[biro barna]]></category>
		<category><![CDATA[builder]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[dailymotion]]></category>
		<category><![CDATA[festival]]></category>
		<category><![CDATA[film]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[paul]]></category>
		<category><![CDATA[summer]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[vamapaull]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=483</guid>
		<description><![CDATA[It&#8217;s been a long time since my last blog post. In the past few months, had time for a little vacation (I went to Anonimul Film Festival) and I worked on some very interesting projects. Lately, I&#8217;ve started working on some projects with Biro Barna (a friend of mine and a highly trained ActionScript developer). [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.vamapaull.com/?p=483" target="_self"><img class="alignnone size-full wp-image-504" title="balls" src="http://blog.vamapaull.com/wp-content/uploads/2010/09/IMG_8104.jpg" alt="" width="580" height="387" /></a></p>
<p>It&#8217;s been a long time since my last blog post. In the past few months, had time for a little vacation (I went to <a href="http://www.festival-anonimul.ro/" target="_blank">Anonimul Film Festival</a>) and I worked on some very interesting projects.</p>
<p>Lately, I&#8217;ve started working on some projects with <strong><a href="http://twitter.com/barnabiro" target="_blank">Biro Barna</a></strong> (a friend of mine and a highly trained ActionScript developer).</p>
<p>Moreover,<strong> I&#8217;ve started working with Flash Builder</strong> where I code my projects and Flash IDE to compile them. I&#8217;m starting to like this work flow, it&#8217;s more organized and I feel like I can code faster this way <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>In addition to all this, I&#8217;m working on a <strong>custom <a href="http://www.dailymotion.com" target="_blank">DailyMotion</a> player</strong> and I&#8217;m using the <a href="http://www.dailymotion.com/doc/api/player/" target="_blank">official API</a>.</p>
<p>The problem right now is that I can&#8217;t get the chromeless player to work, I believe it&#8217;s a problem with this API or something, I will be doing some more research and see what can be done to fix this problem.</p>
<p><strong>I&#8217;ll let you know when or if this project will be done.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/end-of-the-summer-update/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Shuffle text menu</title>
		<link>http://blog.vamapaull.com/shuffle-text-menu/</link>
		<comments>http://blog.vamapaull.com/shuffle-text-menu/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 02:10:18 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[fla]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[shuffle]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=473</guid>
		<description><![CDATA[This is text shuffle class that will help you make a nice flash menu for your site or your applications. I got inspired from a similar class made by Lee Brimelow. You can use it for open source or commercial projects (do anything you want). 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_TextShuffleMenu_1791549694"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://blog.vamapaull.com/wp-content/uploads/2010/06/TextShuffleMenu.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://blog.vamapaull.com/wp-content/uploads/2010/06/TextShuffleMenu.swf"
			name="fm_TextShuffleMenu_1791549694"
			width="550"
			height="400">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>]]></description>
			<content:encoded><![CDATA[<p>This is text shuffle class that will help you make a nice flash menu for your site or your applications. I got inspired from a similar class made by <a href="http://theflashblog.com/" target="_blank">Lee Brimelow</a>. You can use it for open source or commercial projects (do anything you want).</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_TextShuffleMenu_1142397026"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://blog.vamapaull.com/wp-content/uploads/2010/06/TextShuffleMenu.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://blog.vamapaull.com/wp-content/uploads/2010/06/TextShuffleMenu.swf"
			name="fm_TextShuffleMenu_1142397026"
			width="550"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
Note: There is a file embedded within this post, please visit this post to download the file.
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/shuffle-text-menu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple AS3 mp3 player</title>
		<link>http://blog.vamapaull.com/simple-as3-mp3-player/</link>
		<comments>http://blog.vamapaull.com/simple-as3-mp3-player/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 15:07:35 +0000</pubDate>
		<dc:creator>vamapaull</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>

		<guid isPermaLink="false">http://blog.vamapaull.com/?p=465</guid>
		<description><![CDATA[Last night I was browsing around 365psd.com and I found a very interesting design for an mp3 player. Then I thought it would be a good idea to make it functional with Flash and ActionScript 3.0 and then share it for free on my blog Source files:]]></description>
			<content:encoded><![CDATA[<p><a href="http://vamapaull.com/work/mp3_player/" target="_blank"><img src="http://blog.vamapaull.com/wp-content/uploads/2010/06/mp3_player.jpg" alt="" title="mp3_player" width="580" height="247" class="alignnone size-full wp-image-466" /></a></p>
<p>Last night I was browsing around <a href="http://365psd.com/" target="_blank">365psd.com</a> and I found a <a href="http://365psd.com/day/75/" target="_blank" class="broken_link">very interesting design</a> for an mp3 player. Then I thought it would be a good idea to make it functional with Flash and ActionScript 3.0 and then share it for free on my blog <img src='http://blog.vamapaull.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Source files:<br />
Note: There is a file embedded within this post, please visit this post to download the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.vamapaull.com/simple-as3-mp3-player/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

