<?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"
	>
<channel>
	<title>Comments on: Replace String</title>
	<atom:link href="http://www.actionscriptclasses.com/2006/replace-string/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptclasses.com/2006/replace-string/</link>
	<description>Actionscript Class File Repository</description>
	<pubDate>Sat, 22 Nov 2008 11:56:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Confessions of Flash Addict &#187; Replace String Class</title>
		<link>http://www.actionscriptclasses.com/2006/replace-string/#comment-20604</link>
		<dc:creator>Confessions of Flash Addict &#187; Replace String Class</dc:creator>
		<pubDate>Wed, 16 Jan 2008 13:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptclasses.com/2006/replace-string/#comment-20604</guid>
		<description>[...] This class is also featured on Actionscript Classes, nice resource for [...]</description>
		<content:encoded><![CDATA[<p>[...] This class is also featured on Actionscript Classes, nice resource for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alejandro</title>
		<link>http://www.actionscriptclasses.com/2006/replace-string/#comment-9664</link>
		<dc:creator>alejandro</dc:creator>
		<pubDate>Thu, 06 Sep 2007 14:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptclasses.com/2006/replace-string/#comment-9664</guid>
		<description>hei,,  i dont know if you have the time to answer me this questions,  but i'm a little bit deseperated....

i have this script:


var arreglo3:String =_root.btn3admintitle;

var arreglo4:String =_root.btn4minsidetitle;

var arreglo5:String =_root.btn5systemtitle;


if(arreglo3 == "falso"){
	_root.btn3.titu.text = arreglo3;
}
	else{
	_root.mainMenu.peliMovie.attachMovie("btn3admin", "btn3adminvideo", this.getNextHighestDepth(), {_x:5, _y:18});
}



if(arreglo4 == "falso"){
	this.btn4.titu.text = arreglo4;
}
	else{
	this.mainMenu.peliMovie.attachMovie("btn4minside", "btn4minsidevideo", this.getNextHighestDepth(), {_x:5, _y:54});
}


if(arreglo5 == "falso"){
	this.btn5.titu.text = arreglo5;
}
	else{
	this.mainMenu.peliMovie.attachMovie("btn5system", "btn5systemvideo", this.getNextHighestDepth(), {_x:5, _y:92});
}



what i want to do is to evaluate several times different variables, wheter if they are = to "falso" or to ather string, 

The problem is that when the script runs it only read the last script...  the last "if"...  how can i make it to read all the 3 "if's"...??  or more?....

thanks

alejandro</description>
		<content:encoded><![CDATA[<p>hei,,  i dont know if you have the time to answer me this questions,  but i&#8217;m a little bit deseperated&#8230;.</p>
<p>i have this script:</p>
<p>var arreglo3:String =_root.btn3admintitle;</p>
<p>var arreglo4:String =_root.btn4minsidetitle;</p>
<p>var arreglo5:String =_root.btn5systemtitle;</p>
<p>if(arreglo3 == &#8220;falso&#8221;){<br />
	_root.btn3.titu.text = arreglo3;<br />
}<br />
	else{<br />
	_root.mainMenu.peliMovie.attachMovie(&#8221;btn3admin&#8221;, &#8220;btn3adminvideo&#8221;, this.getNextHighestDepth(), {_x:5, _y:18});<br />
}</p>
<p>if(arreglo4 == &#8220;falso&#8221;){<br />
	this.btn4.titu.text = arreglo4;<br />
}<br />
	else{<br />
	this.mainMenu.peliMovie.attachMovie(&#8221;btn4minside&#8221;, &#8220;btn4minsidevideo&#8221;, this.getNextHighestDepth(), {_x:5, _y:54});<br />
}</p>
<p>if(arreglo5 == &#8220;falso&#8221;){<br />
	this.btn5.titu.text = arreglo5;<br />
}<br />
	else{<br />
	this.mainMenu.peliMovie.attachMovie(&#8221;btn5system&#8221;, &#8220;btn5systemvideo&#8221;, this.getNextHighestDepth(), {_x:5, _y:92});<br />
}</p>
<p>what i want to do is to evaluate several times different variables, wheter if they are = to &#8220;falso&#8221; or to ather string, </p>
<p>The problem is that when the script runs it only read the last script&#8230;  the last &#8220;if&#8221;&#8230;  how can i make it to read all the 3 &#8220;if&#8217;s&#8221;&#8230;??  or more?&#8230;.</p>
<p>thanks</p>
<p>alejandro</p>
]]></content:encoded>
	</item>
</channel>
</rss>
