<?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>Emotioned.com &#187; 2009 &#187; December</title>
	<atom:link href="http://emotioned.com/2009/12/feed/" rel="self" type="application/rss+xml" />
	<link>http://emotioned.com</link>
	<description>Ian Cremona</description>
	<lastBuildDate>Mon, 03 Oct 2011 15:33:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>MyPokerAcademy.com Logo</title>
		<link>http://emotioned.com/2009/12/mypokeracademy-com-logo/</link>
		<comments>http://emotioned.com/2009/12/mypokeracademy-com-logo/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 15:20:14 +0000</pubDate>
		<dc:creator>IanCremona</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://emotioned.com/?p=741</guid>
		<description><![CDATA[No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<div id="attachment_740" class="wp-caption aligncenter" style="width: 310px"><a href="http://emotioned.com/2009/12/mypokeracademy-com-logo/mypokeracademy/" rel="attachment wp-att-740"><img src="http://emotioned.com/wp-content/uploads/2010/01/MyPokerAcademy-300x200.png" alt="MyPokerAcademy.com" title="My Poker Academy Logo Design in 3d Max Studio" width="300" height="200" class="size-medium wp-image-740" /></a><p class="wp-caption-text">MyPokerAcademy.com</p></div>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://emotioned.com/2009/12/mypokeracademy-com-logo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash CS4 AS3 XML reader and Tween source code</title>
		<link>http://emotioned.com/2009/12/flash-cs4-as3-xml-reader-and-tween-source-code/</link>
		<comments>http://emotioned.com/2009/12/flash-cs4-as3-xml-reader-and-tween-source-code/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 00:56:52 +0000</pubDate>
		<dc:creator>IanCremona</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://emotioned.com/?p=709</guid>
		<description><![CDATA[Chilipoker Client Banner,in 7 Languages. Read more for code and source files and full size The FLA: //CLIENT PROMOTION import fl.transitions.Tween; import fl.transitions.easing.*; import flash.events.MouseEvent; import flash.events.TimerEvent; import flash.utils.Timer; //import flash.display.*; &#160; //import mcIcon; &#160; var promoNum:Number=0; var tweendelay:Number=10;// in miliseconds var inTween:Tween; var moveEnd:Number; var outTween:Tween; var xTween:Tween; var yTween:Tween; //var addTest:MovieClip; var btnNext:btnTween [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="458" height="46" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.emotioned.com/files/client/Demo3.swf" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" width="458" height="46" src="http://www.emotioned.com/files/client/Demo3.swf" bgcolor="#ffffff"></embed></object></p>
<p>Chilipoker Client Banner,in 7 Languages. Read more for code and source files and full size<span id="more-709"></span></p>
<p><strong>The FLA:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//CLIENT PROMOTION</span>
<span style="color: #0066CC;">import</span> fl.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">Tween</span>;
<span style="color: #0066CC;">import</span> fl.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">easing</span>.<span style="color: #66cc66;">*</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">TimerEvent</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Timer</span>;
<span style="color: #808080; font-style: italic;">//import flash.display.*;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//import mcIcon;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> promoNum:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">0</span>;
<span style="color: #000000; font-weight: bold;">var</span> tweendelay:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">10</span>;<span style="color: #808080; font-style: italic;">// in miliseconds</span>
<span style="color: #000000; font-weight: bold;">var</span> inTween:Tween;
<span style="color: #000000; font-weight: bold;">var</span> moveEnd:<span style="color: #0066CC;">Number</span>;
<span style="color: #000000; font-weight: bold;">var</span> outTween:Tween;
<span style="color: #000000; font-weight: bold;">var</span> xTween:Tween;
<span style="color: #000000; font-weight: bold;">var</span> yTween:Tween;
<span style="color: #808080; font-style: italic;">//var addTest:MovieClip;</span>
<span style="color: #000000; font-weight: bold;">var</span> btnNext:btnTween = <span style="color: #000000; font-weight: bold;">new</span> btnTween<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> btnPrev:btnTween = <span style="color: #000000; font-weight: bold;">new</span> btnTween<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> mcTest:addTest = <span style="color: #000000; font-weight: bold;">new</span> addTest<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> _mcCorners:mcCorners = <span style="color: #000000; font-weight: bold;">new</span> mcCorners<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> _mcShadow:mcShadow = <span style="color: #000000; font-weight: bold;">new</span> mcShadow<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> _mcBotttoolbar:mcBotttoolbar = <span style="color: #000000; font-weight: bold;">new</span> mcBotttoolbar<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> nextTimer:Timer=<span style="color: #000000; font-weight: bold;">new</span> Timer<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10000</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> stageWidth_num:<span style="color: #0066CC;">Number</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//get stage width</span>
stageWidth_num=<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span>;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;stageWidth_num = &quot;</span> + stageWidth_num<span style="color: #66cc66;">&#41;</span>;
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>_mcBotttoolbar<span style="color: #66cc66;">&#41;</span>;
_mcBotttoolbar.<span style="color: #006600;">y</span>=<span style="color: #cc66cc;">42.7</span>;
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>_mcShadow<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//_mcShadow.x = 20;</span>
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>btnNext<span style="color: #66cc66;">&#41;</span>;
btnNext.<span style="color: #006600;">x</span>=<span style="color: #cc66cc;">600</span>;<span style="color: #808080; font-style: italic;">//565;</span>
btnNext.<span style="color: #006600;">y</span>=<span style="color: #cc66cc;">0</span>;<span style="color: #808080; font-style: italic;">//46;</span>
btnNext.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, navigate<span style="color: #66cc66;">&#41;</span>;
btnNext.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OVER</span>, stopTimer<span style="color: #66cc66;">&#41;</span>;
btnNext.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OUT</span>, startTimer<span style="color: #66cc66;">&#41;</span>;
nextTimer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>TimerEvent.<span style="color: #006600;">TIMER</span>, navigateTimer<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//btnNext.addEventListener(MouseEvent.CLICK, fadeIn);</span>
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>btnPrev<span style="color: #66cc66;">&#41;</span>;
btnPrev.<span style="color: #006600;">x</span>=<span style="color: #cc66cc;">0</span>;<span style="color: #808080; font-style: italic;">//535;</span>
btnPrev.<span style="color: #006600;">y</span>=<span style="color: #cc66cc;">0</span>;<span style="color: #808080; font-style: italic;">//46;</span>
btnPrev.<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
btnPrev.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OVER</span>, stopTimer<span style="color: #66cc66;">&#41;</span>;
btnPrev.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OUT</span>, startTimer<span style="color: #66cc66;">&#41;</span>;
btnPrev.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, navigate<span style="color: #66cc66;">&#41;</span>;
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>_mcCorners<span style="color: #66cc66;">&#41;</span>;
&nbsp;
getChildByName<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">false</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> navigateTimer<span style="color: #66cc66;">&#40;</span>event:TimerEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	promoNum=promoNum+<span style="color: #cc66cc;">1</span>;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>promoNum<span style="color: #66cc66;">&amp;</span>gt;=promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		promoNum=<span style="color: #cc66cc;">0</span>;
	<span style="color: #66cc66;">&#125;</span>
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promonum=&quot;</span>+promoNum<span style="color: #66cc66;">&#41;</span>;
	moveEnd = -<span style="color: #66cc66;">&#40;</span>_mcContent.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">*</span>promoNum-<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #808080; font-style: italic;">//moveEnd = -(((this.getChildByName(&quot;promotion&quot;+(promoNum))).width)-100);</span>
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;moveend&quot;</span>+moveEnd<span style="color: #66cc66;">&#41;</span>;
&nbsp;
	getChildByName<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		xTween = <span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;x&quot;</span>,Back.<span style="color: #006600;">easeOut</span>,<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">x</span>,moveEnd,tweendelay<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>moveEnd<span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> startTimer<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	nextTimer.<span style="color: #0066CC;">start</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> stopTimer<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	nextTimer.<span style="color: #0066CC;">stop</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> navigate<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>event.<span style="color: #0066CC;">target</span>==btnPrev<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		promoNum=promoNum-<span style="color: #cc66cc;">1</span>;
		<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>promoNum<span style="color: #66cc66;">&amp;</span>lt;=-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			promoNum=promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>-<span style="color: #cc66cc;">1</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promonum=&quot;</span>+promoNum<span style="color: #66cc66;">&#41;</span>;
		moveEnd = -<span style="color: #66cc66;">&#40;</span>_mcContent.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">*</span>promoNum-<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #808080; font-style: italic;">//moveEnd = -(((this.getChildByName(&quot;promotion&quot;+(promoNum))).width)-100);</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;moveend&quot;</span>+moveEnd<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		getChildByName<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
		<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i2:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i2 <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i2++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> 			xTween = <span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i2<span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;x&quot;</span>,Back.<span style="color: #006600;">easeOut</span>,<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i2<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">x</span>,moveEnd,tweendelay<span style="color: #66cc66;">&#41;</span>; 			<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>moveEnd<span style="color: #66cc66;">&#41;</span>; 		<span style="color: #66cc66;">&#125;</span> 	<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span> 		promoNum=promoNum+<span style="color: #cc66cc;">1</span>; 		<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>promoNum<span style="color: #66cc66;">&amp;</span>gt;=promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			promoNum=<span style="color: #cc66cc;">0</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promonum=&quot;</span>+promoNum<span style="color: #66cc66;">&#41;</span>;
		moveEnd = -<span style="color: #66cc66;">&#40;</span>_mcContent.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">*</span>promoNum-<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #808080; font-style: italic;">//moveEnd = -(((this.getChildByName(&quot;promotion&quot;+(promoNum))).width)-100);</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;moveend&quot;</span>+moveEnd<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		getChildByName<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion1&quot;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">visible</span>=<span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
		<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
			xTween = <span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;x&quot;</span>,Back.<span style="color: #006600;">easeOut</span>,<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">x</span>,moveEnd,tweendelay<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>moveEnd<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> fadeIn<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		inTween=<span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;alpha&quot;</span>,Bounce.<span style="color: #006600;">easeIn</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> fadeOut<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		outTween=<span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion&quot;</span>+i<span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;alpha&quot;</span>,Bounce.<span style="color: #006600;">easeIn</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
nextTimer.<span style="color: #0066CC;">start</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
xTween=<span style="color: #000000; font-weight: bold;">new</span> Tween<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;promotion0&quot;</span><span style="color: #66cc66;">&#41;</span>,<span style="color: #ff0000;">&quot;x&quot;</span>,Back.<span style="color: #006600;">easeOut</span>,<span style="color: #cc66cc;">500</span>,<span style="color: #cc66cc;">100</span>,<span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p><strong>The Banner Language Class:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">package
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #0066CC;">MovieClip</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//import flash.net.URLLoader;</span>
&nbsp;
<span style="color: #0066CC;">import</span> mcPromotion;
&nbsp;
<span style="color: #0066CC;">import</span> mcContent;
&nbsp;
<span style="color: #0066CC;">import</span> addTest;
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> BannerClassEN <span style="color: #0066CC;">extends</span> <span style="color: #0066CC;">MovieClip</span>
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> imagenumber:<span style="color: #0066CC;">Number</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//private var imageRequest:URLRequest = new URLRequest(&quot;test.jpg&quot;);</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> promotion:mcPromotion; 
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _mcContent:mcContent;
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _mcContentX:<span style="color: #0066CC;">Number</span>;
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _mcContentY:<span style="color: #0066CC;">Number</span>;
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> loadImage:<span style="color: #0066CC;">String</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//private var addBox:addTest = new addTest();</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// If anyone manages to load the XML dynamically please send the source files to iancremona@gmail.com</span>
&nbsp;
<span style="color: #808080; font-style: italic;">////==============================================================================================================================================================================================================================================================================================================================================================================================================================================</span>
&nbsp;
<span style="color: #808080; font-style: italic;">////==============================================================================================================================================================================================================================================================================================================================================================================================================================================public var promotionsXML:XML = </span>
&nbsp;
	Chilipoker will soon see its Two Billionth Hand dealt <span style="color: #0066CC;">and</span> to celebrate we have prepared a stunning promotion giving away <span style="color: #0066CC;">up</span> to $<span style="color: #cc66cc;">170</span>,000 to participants.
&nbsp;
	<span style="color: #006600;">Thanks</span> to our Happy Liz-Mas promotion, you can <span style="color: #0066CC;">get</span> into the big tournaments, win a poker table <span style="color: #0066CC;">and</span> much much more<span style="color: #66cc66;">!</span>
&nbsp;
	Welcome to <span style="color: #0066CC;">this</span> monthly Challenge, a cash table contest where you will qualify by just playing <span style="color: #cc66cc;">10</span>,000 raked hands<span style="color: #66cc66;">!!</span>
&nbsp;
	Chilipoker proposes to you a <span style="color: #000000; font-weight: bold;">new</span> challenge <span style="color: #b1b100;">for</span> <span style="color: #0066CC;">this</span> month, a Sit<span style="color: #66cc66;">&amp;</span>amp;Go race where you just need to <span style="color: #0066CC;">play</span> a minimum of <span style="color: #cc66cc;">40</span> Sit <span style="color: #66cc66;">&amp;</span>amp; Go<span style="color: #ff0000;">'s during the whole month
&nbsp;
	ChiliPoker proudly offers all new depositors a 100% Cash Bonus up to $600. In order to receive your bonus, enter our special code when registering.
&nbsp;
	At Chilipoker players rule! Chilipoker is the only poker room that allows you to set the pace of your bonus!
&nbsp;
	Deposit Now! Chilipoker.com brings a special promotion for all its new depositors! Prepare your money and stop looking because nobody gives you more than the spiciest poker room around!
&nbsp;
	Welcomed with a luxury limo and free flowing champagne, a concierge service at your disposal throughout the duration of your stay and a reduced price for Chilipokeru sers.
&nbsp;
	For the first time a poker website is offering players total control over their poker activities.
&nbsp;
	ChiliPoker offers 6 exclusive VIP membership levels, providing you with special rewards and added bonuses. The more FPP points earned the faster you move up the ranks.
&nbsp;
	You earn FPPs each time you play with Chilipoker, whether it’s at the Poker Tables or in the Casino. They allow you to earn rewards based on your loyalty to Chilipoker.
&nbsp;
	Make it even more exciting at Chilipoker! Play the latest in Casino Games and earn lots of extra FPPs!
&nbsp;
	Chilipoker is holding an exclusive online league with Goldenzone Poker Forum and sending away 15 sponsorships to play at China Poker Carnival in December 2009!
&nbsp;
	At ChiliPoker we do not support injustice. Losing with four of a kind can be unpleasant, sure many will say &quot;that'</span>s poker” but it’s still an emotional let <span style="color: #0066CC;">down</span>.
&nbsp;
	<span style="color: #006600;">Win</span> the ChiliPoker Exclusive Jackpot by participating <span style="color: #b1b100;">in</span> our SnG tournaments. <span style="color: #006600;">All</span> you need to <span style="color: #b1b100;">do</span> is win a specific <span style="color: #0066CC;">number</span> of Sit <span style="color: #0066CC;">and</span> Go’s tournaments <span style="color: #66cc66;">&#40;</span>SnGs<span style="color: #66cc66;">&#41;</span> consecutively, <span style="color: #0066CC;">and</span> collect <span style="color: #0066CC;">up</span> to $<span style="color: #cc66cc;">50.000</span><span style="color: #66cc66;">!</span>
&nbsp;
	Tell your friends about us<span style="color: #66cc66;">!</span> We have chosen a very simple formula to <span style="color: #0066CC;">show</span> you our gratitude: Money <span style="color: #b1b100;">for</span> everyone involved.
&nbsp;
	<span style="color: #b1b100;">For</span> the first <span style="color: #0066CC;">time</span> ever, an online poker site is <span style="color: #0066CC;">finally</span> making it possible to directly access any money you make from poker to buy what you want when you want.
&nbsp;
<span style="color: #808080; font-style: italic;">////==============================================================================================================================================================================================================================================================================================================================================================================================================================================</span>
&nbsp;
<span style="color: #808080; font-style: italic;">////==============================================================================================================================================================================================================================================================================================================================================================================================================================================</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> BannerClassEN<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
loadXML<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
&nbsp;
createPromos<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> loadXML<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> createPromos<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
_mcContentX = <span style="color: #cc66cc;">208</span>; <span style="color: #808080; font-style: italic;">// I don't know why I had to do this! I guess the MC positioning needs amending</span>
&nbsp;
_mcContentY = <span style="color: #cc66cc;">31.5</span>; <span style="color: #808080; font-style: italic;">//Extra</span>
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>; i <span style="color: #66cc66;">&amp;</span>lt; promotionsXML.<span style="color: #006600;">promotion</span>.<span style="color: #0066CC;">length</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; i++<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#123;</span>
&nbsp;
promotion = <span style="color: #000000; font-weight: bold;">new</span> mcPromotion<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
addChild<span style="color: #66cc66;">&#40;</span>promotion<span style="color: #66cc66;">&#41;</span>;
&nbsp;
_mcContent = <span style="color: #000000; font-weight: bold;">new</span> mcContent<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
promotion.<span style="color: #006600;">setType</span><span style="color: #66cc66;">&#40;</span>_mcContent<span style="color: #66cc66;">&#41;</span>;
&nbsp;
_mcContent.<span style="color: #006600;">x</span> = _mcContentX;
&nbsp;
_mcContent.<span style="color: #006600;">y</span> = _mcContentY; 
&nbsp;
_mcContentX += _mcContent.<span style="color: #0066CC;">width</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// ------------------------------</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// I would like to add image here</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//_mcContent.promoThumb.alpha = .2;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// ------------------------------</span>
&nbsp;
_mcContent.<span style="color: #006600;">promoTxt</span>.<span style="color: #0066CC;">text</span> = promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;
&nbsp;
promotion.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">&quot;promotion&quot;</span> + i;
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
loadImage = promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">attribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;source&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;URLURL == &quot;</span>+promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">attribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;urlLink&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
_mcContent._URLLink=promotionsXML.<span style="color: #006600;">children</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">attribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;urlLink&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
_mcContent.<span style="color: #006600;">imageSrc</span>=loadImage;
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;loadImage&quot;</span>+ loadImage<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//_mcContent.promoThumb</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//imagenumber = loadImage;</span>
&nbsp;
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;imagenumber&quot;</span>+ imagenumber<span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><strong>The Promo Button Class:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//CLIENT PROMOTION</span>
package
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #0066CC;">MovieClip</span>;
	<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;
	<span style="color: #808080; font-style: italic;">//import flash.display.Loader;</span>
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PromoButton <span style="color: #0066CC;">extends</span> <span style="color: #0066CC;">MovieClip</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _type:<span style="color: #66cc66;">*</span>;
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _icon:<span style="color: #66cc66;">*</span>;
		<span style="color: #808080; font-style: italic;">//private var _origXScale:Number;</span>
		<span style="color: #808080; font-style: italic;">//private var _origYScale:Number;</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> PromoButton<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #808080; font-style: italic;">//_origXScale = this.scaleX;</span>
			<span style="color: #808080; font-style: italic;">//_origYScale = this.scaleY;</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">buttonMode</span>=<span style="color: #000000; font-weight: bold;">true</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OVER</span>, grow<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OUT</span>, shrink<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">CLICK</span>, bright<span style="color: #66cc66;">&#41;</span>;
&nbsp;
		<span style="color: #66cc66;">&#125;</span>
			<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> bright<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
&nbsp;
			<span style="color: #808080; font-style: italic;">//this.scaleX *= .8;</span>
			<span style="color: #808080; font-style: italic;">//this.scaleY *= .8;</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">alpha</span> = .8;
			<span style="color: #808080; font-style: italic;">//trace(&quot;promotionsXML.promotion.length()&quot; + promotionsXML.promotion.length());</span>
			<span style="color: #808080; font-style: italic;">//trace(&quot;event.target = &quot; + event.target);</span>
			<span style="color: #808080; font-style: italic;">//trace(&quot;event.target.id = &quot; + event.target.id);// Get Item ID - need children</span>
			<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;this.parent = &quot;</span> + <span style="color: #0066CC;">this</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;this.parent.parent = &quot;</span> + <span style="color: #0066CC;">this</span>.<span style="color: #006600;">parent</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;this.parent.parent.parent = &quot;</span> + <span style="color: #0066CC;">this</span>.<span style="color: #006600;">parent</span>.<span style="color: #006600;">parent</span>.<span style="color: #006600;">parent</span><span style="color: #66cc66;">&#41;</span>;
			<span style="color: #808080; font-style: italic;">//trace(&quot;this.parent.parent.parent.parent = &quot; + this.parent.parent.parent.parent);</span>
			<span style="color: #808080; font-style: italic;">//trace(&quot;this.parent.parent.parent.parent.parent = &quot; + this.parent.parent.parent.parent.parent);</span>
&nbsp;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> grow<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #808080; font-style: italic;">//this.scaleX *= .8;</span>
			<span style="color: #808080; font-style: italic;">//this.scaleY *= .8;</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">alpha</span> = .6;
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">buttonMode</span> = <span style="color: #000000; font-weight: bold;">true</span>;
		<span style="color: #66cc66;">&#125;</span>
		<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> shrink<span style="color: #66cc66;">&#40;</span>event:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			<span style="color: #808080; font-style: italic;">//this.scaleX = _origXScale;</span>
			<span style="color: #808080; font-style: italic;">//this.scaleY = _origYScale;</span>
			<span style="color: #0066CC;">this</span>.<span style="color: #006600;">alpha</span> = <span style="color: #cc66cc;">1</span>;
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
		<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> setType<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">type</span>:<span style="color: #66cc66;">*</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
		<span style="color: #66cc66;">&#123;</span>
			_type = <span style="color: #0066CC;">type</span>;
			addChild<span style="color: #66cc66;">&#40;</span>_type<span style="color: #66cc66;">&#41;</span>;
			<span style="color: #808080; font-style: italic;">//for(var i:Number = 0; i &amp;lt; 19; i++)</span>
			<span style="color: #808080; font-style: italic;">//{</span>
			_type.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">&quot;loader_mc&quot;</span> ;
			<span style="color: #808080; font-style: italic;">//};</span>
		<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="615" height="63" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.emotioned.com/files/client/Demo3.swf" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" width="615" height="63" src="http://www.emotioned.com/files/client/Demo3.swf" bgcolor="#ffffff"></embed></object></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://emotioned.com/2009/12/flash-cs4-as3-xml-reader-and-tween-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ChiliCasino Banner Christmas Edition</title>
		<link>http://emotioned.com/2009/12/chilicasino-banner/</link>
		<comments>http://emotioned.com/2009/12/chilicasino-banner/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 11:30:41 +0000</pubDate>
		<dc:creator>IanCremona</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[casino]]></category>
		<category><![CDATA[chili]]></category>
		<category><![CDATA[chilicasino]]></category>
		<category><![CDATA[christmas]]></category>

		<guid isPermaLink="false">http://emotioned.com/?p=703</guid>
		<description><![CDATA[No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><object id="FlashID" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="441" height="176" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="wmode" value="opaque" /><param name="swfversion" value="6.0.65.0" /><param name="expressinstall" value="Scripts/expressInstall.swf" /><param name="src" value="http://emotioned.com/files/chilicasinopromoschipFinal.swf" /><embed id="FlashID" type="application/x-shockwave-flash" width="441" height="176" src="http://emotioned.com/files/chilicasinopromoschipFinal.swf" expressinstall="Scripts/expressInstall.swf" swfversion="6.0.65.0" wmode="opaque" quality="high"></embed></object></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://emotioned.com/2009/12/chilicasino-banner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas at Chilipoker</title>
		<link>http://emotioned.com/2009/12/christmas-at-chilipoker/</link>
		<comments>http://emotioned.com/2009/12/christmas-at-chilipoker/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 15:45:53 +0000</pubDate>
		<dc:creator>IanCremona</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Chilipoker]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Poker]]></category>

		<guid isPermaLink="false">http://emotioned.com/?p=697</guid>
		<description><![CDATA[No related posts. Related posts brought to you by Yet Another Related Posts Plugin.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><object id="FlashID" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="479" height="176" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="wmode" value="opaque" /><param name="swfversion" value="6.0.65.0" /><param name="expressinstall" value="Scripts/expressInstall.swf" /><param name="src" value="http://emotioned.com/xmaschili/Promo1EN.swf" /><embed id="FlashID" type="application/x-shockwave-flash" width="479" height="176" src="http://emotioned.com/xmaschili/Promo1EN.swf" expressinstall="Scripts/expressInstall.swf" swfversion="6.0.65.0" wmode="opaque" quality="high"></embed></object></p>
<p><!--[if !IE]>&#8211;><br />
<!--<![endif]--></p>


<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://emotioned.com/2009/12/christmas-at-chilipoker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

