Re: [Flashcoders] problem with adding two digits

2010-12-15 Thread Anthony Pace
I wrote the functions below in literally just a few min, so, even though they do seem to work for me, I wouldn't necessarily say they are production ready. Also, I would only use these if you will know that the numbers past the mantissa are of small amounts. Oh yeah, and please tell me if I

Re: [Flashcoders] problem with adding two digits

2010-12-15 Thread Anthony Pace
Oh yeah, I forgot to give some examples to test it with, so... trace(floatSum(-0.1,0.9155,0.1,0.1,0.1,0.1,0.1,0.1,0.1,0.1)); //vs trace(-0.1+0.9155+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1); //and trace(floatProduct(2.1,0.1,1.0001,.0001)); //vs trace(2.1*0.1*1.0001*.0001); On 12/15/2010 2:25 PM,

[Flashcoders] My first code.

2010-12-15 Thread spyder spyders
HELLO FlashCoders! I am trying to write a ToggleButton Class.I can get it to work as a document class and as as3 on timeline. But how to I use it as a symbol class? Thx!

Re: [Flashcoders] My first code.

2010-12-15 Thread Paul Andrews
On 15/12/2010 23:53, spyder spyders wrote: HELLO FlashCoders! I am trying to write a ToggleButton Class.I can get it to work as a document class and as as3 on timeline. But how to I use it as a symbol class? Everywhere you have toggleButton replace it with this or remove it

Re: [Flashcoders] My first code.

2010-12-15 Thread spyder spyders
Thank You So Much! :DI have been researching for over a month!! I am guessing that the 'this' is pointing to the symbol or _mc I attach the class to? I ended up doing away with all of the this because I was receiving an error message saying gotoAndStop is not a