### Re: [Flashcoders] Recommendation for AS3 decompiler?

Hey, you should check out HP swfscan, it decompiles everything just fine(as2 and 3) and it's free. On Wed, May 6, 2009 at 12:11 PM, Glen Pike g...@engineeredarts.co.uk wrote: Hi,   If you can run windows software, check out Burak's ASV - it's definitely worth the money and paying users can

### [Flashcoders] isseu with a custom function in AS2

Good morning, I have made a function that adds interpunction marks to a value, for example the value 1 gets changed to 10.000, 10 to 100.000 and so forth. The function work fine, but I'm trying to make it reusable so that i can use it in a large scale project. That's where the problem

### Re: [Flashcoders] isseu with a custom function in AS2

Hey guys thanks for the feedback. Willem i would love to have that class of yours. On Fri, Apr 3, 2009 at 12:58 PM, Geografiek geograf...@geografiek.nl wrote: Hi Jimmi, I made a class that does just that (and a little bit more). I can send it to you off list if you wish. HTH, Willem van den

### [Flashcoders] [AS in general] Question corcerning a math formula

Goodmorning, i am trying to make a formula that makes for example 30.60 of 30.6. So I need it to add a 0. This is the formula I am using now. total = Number(Number(600) / 100 * Number(5.1)) I have tried all sorts of additions to the formula to try to get it to make 30.60 of 30.6. But no luck

### Re: [Flashcoders] [AS in general] Question corcerning a math formula

Number(total).toFixed(2); You get the result you want :) This is pure AS3 though, Hope this helps, Sid On Jan 27, 2009, at 9:45 AM, jimmi wrote: Goodmorning, i am trying to make a formula that makes for example 30.60 of 30.6. So I need it to add a 0. This is the formula I am using now

### Re: [Flashcoders] [AS in general] Question corcerning a math formula

AM, Sidney de Koning sid...@funky-monkey.nlwrote: Hi Jimmi, Look at this then, To truncate Numbers in Actionscript: Three decimals: var yourNumber:Number = 23.263636453737383838383838; yourNumber = Math.round(yourNumber *1000)/1000; // Outputs 23.263 Two decimals: var

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

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

if 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