<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Pordux's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 21 Aug 2008 02:51:26 GMT</pubDate>
    <description>DZone Snippets: Pordux's Code Snippets</description>
    <item>
      <title>help on "if" actionscript</title>
      <link>http://snippets.dzone.com/posts/show/4500</link>
      <description>hei,,  i dont know if you have the time to answer me this questions,  but i'm a little bit deseperated....&lt;br /&gt;&lt;br /&gt;i have this script:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;var arreglo3:String =_root.btn3admintitle;&lt;br /&gt;&lt;br /&gt;var arreglo4:String =_root.btn4minsidetitle;&lt;br /&gt;&lt;br /&gt;var arreglo5:String =_root.btn5systemtitle;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(arreglo3 == "falso"){&lt;br /&gt;	_root.btn3.titu.text = arreglo3;&lt;br /&gt;}&lt;br /&gt;	else{&lt;br /&gt;	_root.mainMenu.peliMovie.attachMovie("btn3admin", "btn3adminvideo", this.getNextHighestDepth(), {_x:5, _y:18});&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(arreglo4 == "falso"){&lt;br /&gt;	this.btn4.titu.text = arreglo4;&lt;br /&gt;}&lt;br /&gt;	else{&lt;br /&gt;	this.mainMenu.peliMovie.attachMovie("btn4minside", "btn4minsidevideo", this.getNextHighestDepth(), {_x:5, _y:54});&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(arreglo5 == "falso"){&lt;br /&gt;	this.btn5.titu.text = arreglo5;&lt;br /&gt;}&lt;br /&gt;	else{&lt;br /&gt;	this.mainMenu.peliMovie.attachMovie("btn5system", "btn5systemvideo", this.getNextHighestDepth(), {_x:5, _y:92});&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what i want to do is to evaluate several times different variables, wheter if they are = to "falso" or to ather string, &lt;br /&gt;&lt;br /&gt;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?....&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;&lt;br /&gt;alejandro</description>
      <pubDate>Thu, 06 Sep 2007 14:53:31 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4500</guid>
      <author>pordux (alejandro)</author>
    </item>
  </channel>
</rss>
