<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Create a sliding content in flash</title>
	<atom:link href="http://www.riacodes.com/flash/create-a-sliding-content-in-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/</link>
	<description>Resources, tutorials , tips &#38; tricks for RIA : Flex, Flash, Air, AS3</description>
	<lastBuildDate>Thu, 11 Mar 2010 05:44:18 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thermo</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-880</link>
		<dc:creator>Thermo</dc:creator>
		<pubDate>Mon, 15 Feb 2010 14:52:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-880</guid>
		<description>AMAZING !!! Thank U so much</description>
		<content:encoded><![CDATA[<p>AMAZING !!! Thank U so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erico</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-863</link>
		<dc:creator>Erico</dc:creator>
		<pubDate>Tue, 09 Feb 2010 18:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-863</guid>
		<description>thx for tutorial!</description>
		<content:encoded><![CDATA[<p>thx for tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Projektowanie</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-851</link>
		<dc:creator>Projektowanie</dc:creator>
		<pubDate>Fri, 05 Feb 2010 00:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-851</guid>
		<description>i used dat for making a small gallery, very usefull. THX!</description>
		<content:encoded><![CDATA[<p>i used dat for making a small gallery, very usefull. THX!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HasanG</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-654</link>
		<dc:creator>HasanG</dc:creator>
		<pubDate>Tue, 15 Dec 2009 21:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-654</guid>
		<description>I think loader seen in the demo page is not included in the source :)?</description>
		<content:encoded><![CDATA[<p>I think loader seen in the demo page is not included in the source <img src='http://www.riacodes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-472</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 01 Nov 2009 14:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-472</guid>
		<description>@ DAMOND F  &amp; WICKEDHAYO :

The tutorial wasn&#039;t very clear. The buttons are in our case movie clips and then in the code we set their buttonMode property to true.
Both of you have created buttons instead of movieclip and in that case they don&#039;t have a buttonMode property so indeed you need to delete this line of code : buttons[i].buttonMode = true;</description>
		<content:encoded><![CDATA[<p>@ DAMOND F  &#038; WICKEDHAYO :</p>
<p>The tutorial wasn&#8217;t very clear. The buttons are in our case movie clips and then in the code we set their buttonMode property to true.<br />
Both of you have created buttons instead of movieclip and in that case they don&#8217;t have a buttonMode property so indeed you need to delete this line of code : buttons[i].buttonMode = true;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ebbe</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-459</link>
		<dc:creator>ebbe</dc:creator>
		<pubDate>Thu, 29 Oct 2009 10:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-459</guid>
		<description>I don&#039;t know if anyone can use this but I have implemented back and forward. This is the actionscript.


import caurina.transitions.*;

var position:Number = 0;

var b1X : Number = 0;
var b2X : Number = -550;
var b3X : Number = -1100;
var b4X : Number = -1650;
var b5X : Number = -2200;

var locset:Array = [0,-550,-1100,-1650,-2200];

var buttons : Array = [b1_btn,b2_btn,b3_btn,b4_btn,b5_btn];

// pile funktion

back_btn.addEventListener(MouseEvent.CLICK, back);

function back(e):void {
	position--;
	trace(position);


	var locsetlength:Number = locset.length-1;
	if (position  locsetlength) {
		position = 0;
		setTween(0);
	} else {
		setTween(locset[position]);
	}
}


for (var i:int = 0; i&lt; buttons.length; i++) {

	buttons[i].addEventListener(MouseEvent.CLICK,navigate);
	//buttons[i].buttonMode = true;
}

function navigate(event:MouseEvent):void {


	switch (event.target) {
		case (b1_btn) :
			setTween(b1X);
			position = 0;
			break;

		case (b2_btn) :
			setTween(b2X);
			position = 1;
			break;

		case (b3_btn) :
			setTween(b3X);
			position = 2;
			break;

		case (b4_btn) :
			setTween(b4X);
			position = 3;
			break;

		case (b5_btn) :
			setTween(b5X);
			position = 4;
			break;
	}
	trace(position);
}
function setTween(tweenX:Number):void {
	Tweener.addTween(content_mc, {x:tweenX, time:1, transition:&quot;easeInOutCubic&quot;});
}</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if anyone can use this but I have implemented back and forward. This is the actionscript.</p>
<p>import caurina.transitions.*;</p>
<p>var position:Number = 0;</p>
<p>var b1X : Number = 0;<br />
var b2X : Number = -550;<br />
var b3X : Number = -1100;<br />
var b4X : Number = -1650;<br />
var b5X : Number = -2200;</p>
<p>var locset:Array = [0,-550,-1100,-1650,-2200];</p>
<p>var buttons : Array = [b1_btn,b2_btn,b3_btn,b4_btn,b5_btn];</p>
<p>// pile funktion</p>
<p>back_btn.addEventListener(MouseEvent.CLICK, back);</p>
<p>function back(e):void {<br />
	position&#8211;;<br />
	trace(position);</p>
<p>	var locsetlength:Number = locset.length-1;<br />
	if (position  locsetlength) {<br />
		position = 0;<br />
		setTween(0);<br />
	} else {<br />
		setTween(locset[position]);<br />
	}<br />
}</p>
<p>for (var i:int = 0; i&lt; buttons.length; i++) {</p>
<p>	buttons[i].addEventListener(MouseEvent.CLICK,navigate);<br />
	//buttons[i].buttonMode = true;<br />
}</p>
<p>function navigate(event:MouseEvent):void {</p>
<p>	switch (event.target) {<br />
		case (b1_btn) :<br />
			setTween(b1X);<br />
			position = 0;<br />
			break;</p>
<p>		case (b2_btn) :<br />
			setTween(b2X);<br />
			position = 1;<br />
			break;</p>
<p>		case (b3_btn) :<br />
			setTween(b3X);<br />
			position = 2;<br />
			break;</p>
<p>		case (b4_btn) :<br />
			setTween(b4X);<br />
			position = 3;<br />
			break;</p>
<p>		case (b5_btn) :<br />
			setTween(b5X);<br />
			position = 4;<br />
			break;<br />
	}<br />
	trace(position);<br />
}<br />
function setTween(tweenX:Number):void {<br />
	Tweener.addTween(content_mc, {x:tweenX, time:1, transition:&quot;easeInOutCubic&quot;});<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Banner flash</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-426</link>
		<dc:creator>Banner flash</dc:creator>
		<pubDate>Sat, 17 Oct 2009 16:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-426</guid>
		<description>thx, this is really awesome effect, also I need  something like DENA wanted, two buttons that move right and left :D</description>
		<content:encoded><![CDATA[<p>thx, this is really awesome effect, also I need  something like DENA wanted, two buttons that move right and left <img src='http://www.riacodes.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: larusso</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-420</link>
		<dc:creator>larusso</dc:creator>
		<pubDate>Fri, 16 Oct 2009 13:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-420</guid>
		<description>Ace tut, if only i could get it to work. Is anyone having problems with this line? my computer no like...

Tweener.addTween(content_mc, {x:tweenX, time:1, transition:&quot;easeInOutCubic&quot;});

Thanks</description>
		<content:encoded><![CDATA[<p>Ace tut, if only i could get it to work. Is anyone having problems with this line? my computer no like&#8230;</p>
<p>Tweener.addTween(content_mc, {x:tweenX, time:1, transition:&#8221;easeInOutCubic&#8221;});</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NetGD</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-418</link>
		<dc:creator>NetGD</dc:creator>
		<pubDate>Thu, 15 Oct 2009 05:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-418</guid>
		<description>Awsome tutorial! It was just what i needed. It is easy to follow and understand.</description>
		<content:encoded><![CDATA[<p>Awsome tutorial! It was just what i needed. It is easy to follow and understand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yasmine</title>
		<link>http://www.riacodes.com/flash/create-a-sliding-content-in-flash/comment-page-1/#comment-417</link>
		<dc:creator>yasmine</dc:creator>
		<pubDate>Wed, 14 Oct 2009 19:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.riacodes.com/?p=221#comment-417</guid>
		<description>salut ton tuto il cartonne
j&#039;ai essayé de le faire mon il m&#039;annonce 2 messages d&#039;erreur
ligne 1  1172: la definition caurina.transitions est introuvable
ligne 32  1120 : Accès à la propriété non deinie Tweener
pourrais tu m&#039;aider stp à faire mon tuto
en te remerciant d&#039;avance</description>
		<content:encoded><![CDATA[<p>salut ton tuto il cartonne<br />
j&#8217;ai essayé de le faire mon il m&#8217;annonce 2 messages d&#8217;erreur<br />
ligne 1  1172: la definition caurina.transitions est introuvable<br />
ligne 32  1120 : Accès à la propriété non deinie Tweener<br />
pourrais tu m&#8217;aider stp à faire mon tuto<br />
en te remerciant d&#8217;avance</p>
]]></content:encoded>
	</item>
</channel>
</rss>
