[Flashcoders] [AS2] problem with conditional statement else if

2009-01-22 Thread jimmi
Hi, for a project it is required that I make a module with AS2. I already got most of the module working, except for one part: the slider. The slider button is supposed to stop at six points. I thought that the if..else..if statement would do just fine for this purpose. The problem is that

Re: [Flashcoders] [AS2] problem with conditional statement else if

2009-01-22 Thread Ian Thomas
You need to use instead of || (btn1._x 208 || btn1._x 241) should be (btn1._x 208 btn1._x 241) HTH, Ian On Thu, Jan 22, 2009 at 9:17 AM, jimmi cho...@gmail.com wrote: Hi, for a project it is required that I make a module with AS2. I already got most of the module working, except for

Re: [Flashcoders] [AS2] problem with conditional statement else if

2009-01-22 Thread jimmi
How stupid of me. Thank you very much. -- From: Ian Thomas i...@eirias.net Sent: Thursday, January 22, 2009 10:27 AM To: Flash Coders List flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] [AS2] problem with conditional statement else